Files
firefox/testing/web-platform/tests/html/semantics/interactive-elements
Joey Arhar ed60649882 Bug 1913834 [wpt PR 47673] - Keep ::backdrop next to element in sync remove+add case, a=testonly
Automatic update from web-platform-tests
Keep ::backdrop next to element in sync remove+add case

In the case that a top layer element is synchronously removed and
re-added to the top layer, it is supposed to get moved to the front of
the top layer list. However, its ::backdrop was not staying next to it
in the top layer list, which caused it to fall behind other top layer
elements.

This patch removes and re-adds any top layer element's ::backdrop when
it gets removed and re-added. This matches the rendering of firefox and
safari.

Fixed: 360158414
Change-Id: I3a619b248999a79139ced7a52591809e03e2a6c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5788966
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1345988}

--

wpt-commits: 8b44cce3ceafbad8a7b69e24ac58488d9d44a22c
wpt-pr: 47673
2024-08-24 05:57:11 +00:00
..
…