Closed Bug 1829590 Opened 1 year ago Closed 1 year ago

Add CSSImportRule supportsText attribute

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
114 Branch
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)

Canadahonk, is this something you'd be interested in?

Flags: needinfo?(oj)

Sure, was waiting for a consensus but will do ChromeOnly in a patch this week :)

Flags: needinfo?(oj)
Summary: Add CSSImportRule supportsCondition attribute → Add CSSImportRule supportsText attribute

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)

Added the new CSSImportRule supportsText attribute to allow pages to
read supports conditions for CSS imports with JS.

Spec PR: https://github.com/w3c/csswg-drafts/pull/8712

Assignee: nobody → oj
Status: NEW → ASSIGNED
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
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Upstream PR merged by moz-wptsync-bot
Regressions: 1830526

FYI MDN docs work for this can be tracked in https://github.com/mdn/content/issues/26692

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: