[wpt-sync] Sync PR 52338 - ScopedVT: Add checks for scope elements that are not rendered.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(2 files)
Sync web-platform-tests PR 52338 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/52338
Details from upstream follow.
Steve Kobes <skobes@chromium.org> wrote:
ScopedVT: Add checks for scope elements that are not rendered.
(1) If the scope element has no ComputedStyle, do not create a pseudo
element tree. This can happen if the scope element is inside the light
DOM of a shadow host, but does not appear in the flat tree.(2) If the scope element has no LayoutObject, don't look for tagged
participants inside it. This happens if scope has display:none style.
Tag discovery uses paint order, so it requires a PaintLayer.Bug: 412265459
Change-Id: I848cd438b043dbdba35a66177ba7ed6256e6cc44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6505605
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Commit-Queue: Steve Kobes \<skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1455654}
Assignee | ||
Updated•15 days ago
|
Assignee | ||
Comment 1•15 days ago
|
||
Assignee | ||
Comment 2•15 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
TIMEOUT
: 1
Chrome
PASS
: 1
Safari
TIMEOUT
: 1
Links
Details
New Tests That Don't Pass
- /css/css-view-transitions/scoped/crashtests/shadow-dom.html [wpt.fyi]:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
Assignee | ||
Comment 3•8 days ago
|
||
Automatic update from web-platform-tests
ScopedVT: Add checks for scope elements that are not rendered.
(1) If the scope element has no ComputedStyle, do not create a pseudo
element tree. This can happen if the scope element is inside the light
DOM of a shadow host, but does not appear in the flat tree.
(2) If the scope element has no LayoutObject, don't look for tagged
participants inside it. This happens if scope has display:none style.
Tag discovery uses paint order, so it requires a PaintLayer.
Bug: 412265459
Change-Id: I848cd438b043dbdba35a66177ba7ed6256e6cc44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6505605
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1455654}
--
wpt-commits: c11e6a428b9f95b1d514cda540e5c190aba4606f
wpt-pr: 52338
Assignee | ||
Comment 4•8 days ago
|
||
wpt-pr: 52338
wpt-type: metadata
Comment 6•8 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/531825a5c288
https://hg.mozilla.org/mozilla-central/rev/07b5cefdee3f
Description
•