Closed Bug 1964399 Opened 15 days ago Closed 8 days ago

[wpt-sync] Sync PR 52338 - ScopedVT: Add checks for scope elements that are not rendered.

Categories

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

task

Tracking

()

RESOLVED FIXED
140 Branch
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}

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

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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

Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/531825a5c288 [wpt PR 52338] - ScopedVT: Add checks for scope elements that are not rendered., https://hg.mozilla.org/integration/autoland/rev/07b5cefdee3f [wpt PR 52338] - Update wpt metadata,
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: