Intent to Prototype: CSSImportRule.styleSheet

140 views
Skip to first unread message

Euisang Lim

unread,
Feb 22, 2024, 11:06:55 AMFeb 22
to blin...@chromium.org

Contact emails

eui-sa...@samsung.com

Explainer

None

Specification

https://drafts.csswg.org/cssom/#the-cssimportrule-interface

Summary

Allow CSSImportRule.styleSheet to be nullable. The styleSheet attribute in CSSImportRule can be null if there is no associated CSS style sheet.



Blink component

Blink>CSS

Motivation

The styleSheet attribute can be null if there is no associated CSS style sheet. styleSheet has become nullable since supports() was supported in @import. If a <supports-condition> blocks the application of the imported style sheet, the UA must not fetch the style sheet. Plus, it must return null for the import rule’s CSSImportRule.styleSheet value.



Initial public proposal

None

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/40266154

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5123480866783232

This intent message was generated by Chrome Platform Status.

 


Reply all
Reply to author
Forward
0 new messages