Closed Bug 1538323 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 15958 - Only connected shadow roots can be active tree scopes.

Categories

(Core :: DOM: CSS Object Model, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Only connected shadow roots can be active tree scopes.

Stylesheet collection will be ensured, active scope added, and active
style will be marked dirty on ShadowRootInsertedIntoDocument(). Skip on
adopted stylesheets changes.

Added DCHECK to make sure we don't mark disconnected tree scopes dirty.

Bug: 942553
Change-Id: I71b991dbeec540e69f85a1fef3961f3b9efaa1e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532104
Reviewed-by: Rakina Zata Amni \<rakina@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642746}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c5a29660d8ae
[wpt PR 15958] - Only connected shadow roots can be active tree scopes., a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7c8e94e39bf3
[wpt PR 15958] - Only connected shadow roots can be active tree scopes., a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.