Files
Rune Lillesveen 0369cfefb3 Bug 1981735 [wpt PR 54189] - Render ::backdrop for replaced <object> elements, a=testonly
Automatic update from web-platform-tests
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 <[email protected]>
Commit-Queue: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1498171}

--

wpt-commits: fc4f94d9aff27f3ea024ffe674c00e43ded8a333
wpt-pr: 54189
2025-08-10 01:15:21 +00:00

4 lines
95 B
HTML

<!DOCTYPE html>
<title>CSS Test Reference</title>
<body style="background-color:green"></body>