Add CSSImportRule supportsText attribute
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: canadahonk)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Note that this is tied to https://github.com/w3c/csswg-drafts/pull/8712 , but since we enabled support condition already, it would be nice to have the attribute as ChromeOnly (until PR is merged), so DevTools can display this data (Bug 1827886)
Reporter | ||
Comment 1•8 months ago
|
||
Canadahonk, is this something you'd be interested in?
Assignee | ||
Comment 2•8 months ago
|
||
Sure, was waiting for a consensus but will do ChromeOnly in a patch this week :)
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 3•8 months ago
|
||
Property was renamed to supportsText
, and was consensus was agreed to add so should be merged into spec shortly. Will make a patch to just add it soon. (See https://github.com/w3c/csswg-drafts/issues/8710 for details)
Assignee | ||
Comment 4•8 months ago
|
||
Added the new CSSImportRule supportsText attribute to allow pages to
read supports conditions for CSS imports with JS.
Updated•8 months ago
|
Pushed by oj@oojmed.com: https://hg.mozilla.org/integration/autoland/rev/307206b89223 Add CSSImportRule supportsText attribute r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39740 for changes under testing/web-platform/tests
Comment 7•8 months ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Updated•7 months ago
|
Comment 9•7 months ago
|
||
FYI MDN docs work for this can be tracked in https://github.com/mdn/content/issues/26692
Updated•7 months ago
|
Description
•