Closed Bug 1410578 Opened 2 years ago Closed Last year

ensure <link rel=stylesheet> works in shadow trees

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox57 --- wontfix
firefox62 --- fixed

People

(Reporter: heycam, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

<link rel=stylesheet> should work in shadow trees, according to https://github.com/whatwg/html/commit/43c57866c2bbc20dc0deb15a721a28cbaad2140c (and it does in Chrome).
Blocks: 1410579
Priority: -- → P3
Depends on: 1420757
CSP checks don't account for this possibility in a couple places.
Depends on: 1459529
Blocks: 1437956
No longer blocks: shadowdom-layout
Blocks: shadowdom
hmm, why is this post-v1 if other browsers support this?
(In reply to Olli Pettay [:smaug] from comment #2)
> hmm, why is this post-v1 if other browsers support this?

Safari doesn't afaik, but I'll double check.
Huh, apparently it does, whoops!
Depends on: shadowdom-layout
No longer depends on: 1459529
Flags: needinfo?(emilio)
Somewhat straight-forward, mostly removing special-casing.
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Attachment #8986940 - Flags: review?(cam)
Comment on attachment 8986940 [details]
Bug 1410578: Make <link rel="stylesheet"> work in shadow trees. r=heycam

Cameron McCormack (:heycam) has approved the revision.

https://phabricator.services.mozilla.com/D1761
Attachment #8986940 - Flags: review+
Attachment #8986940 - Flags: review?(cam)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d7b2d2d11109
Make <link rel="stylesheet"> work in shadow trees. r=heycam
Blocks: 1470358
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/11624 for changes under testing/web-platform/tests
https://hg.mozilla.org/mozilla-central/rev/d7b2d2d11109
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
(Fixing the bug tree from comment #4)
Blocks: shadowdom-layout
No longer blocks: shadowdom
Depends on: 1459529
No longer depends on: shadowdom-layout
You need to log in before you can comment on or make changes to this bug.