Closed Bug 2086986 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64124 - Render ::backdrop for content-visibility:hidden elements

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64124 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64124
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Render ::backdrop for content-visibility:hidden elements

If we render a content-visibility:hidden element in the top layer, we
should not remove the ::backdrop.

Not explicitly stated in the spec, but this aligns with both Firefox
and Safari.

This fixes a crash issue where a ::backdrop would be detached after
being laid out as part of interleaved OOF recalc for an anchored top
layer element.

Bug: 574251151
Change-Id: I4f0e9ba66260e1476147c4209b6de79ceb1279f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8629849
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1726337}

Component: web-platform-tests → Layout
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 244 tests

Status Summary

Firefox

OK : 78
PASS: 1[GitHub] 49[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 330[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 441[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 444[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 445[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 16[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 17[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 21[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/20fa9972bfb6 https://hg.mozilla.org/integration/autoland/rev/dec60b499aab [wpt PR 64124] - Render ::backdrop for content-visibility:hidden elements, a=testonly
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.