Closed Bug 1981735 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 54189 - Render ::backdrop for replaced <object> elements

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Render ::backdrop for replaced <object> elements

The \<object> element is blocked from rendering children if it is
rendered as a replaced element. However, ::backdrop is rendered as a
sibling in the top layer.

This worked a lot of the time in Blink, because the first time we create
the ::backdrop, we typically don't know yet what the \<object> will
render as, but doing mutations on the \<object> while rendered in the top
layer, including the anchor() style recalculations during layout, we
would know what the layout object type is and incorrectly stop rendering
the ::backdrop.

Bug: 436811729
Change-Id: I94157ea2112dfd980ee25c83c7c284eaa857e3e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6827402
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1498171}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 319 tests

Status Summary

Firefox

OK : 95
PASS: 1[GitHub] 8[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1133[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 1290[Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 1297[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 1303[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 112[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 158[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 160[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 170[Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-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

  • /css/css-position/fixed-z-index-blend.html [wpt.fyi]: PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.