Closed Bug 1490791 Opened 7 years ago Closed 7 years ago

Make the shadow root stylesheet list (and .sheet) only work on connected trees.

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

This avoids the issue of triggering stylesheet loads for disconnected stuff and such, and is more consistent with Chrome and WebKit. This is per the recent CSSWG resolution at https://github.com/w3c/csswg-drafts/issues/3096.
Comment on attachment 9008519 [details] Bug 1490791 - Make ShadowRoot stylesheet list work only when the shadow root is connected. Olli Pettay [:smaug] has approved the revision.
Attachment #9008519 - Flags: review+
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/71f86120ca35 Make ShadowRoot stylesheet list work only when the shadow root is connected. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/12979 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: