You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSSImportRule.styleSheet became nullable in w3c/csswg-drafts#8773 from the issue w3c/csswg-drafts#8608. The behavior of @import had not been matched with CSSOM CSSImportRule.
Additionally, if a blocks the application of the imported style sheet, the UA must not fetch the style sheet (unless it is loaded through some other link) and must return null for the import rule’s CSSImportRule.styleSheet value (even if it is loaded through some other link).
My main worry here would be that the lifetime of these objects is not carefully defined and as such when they return null and non-null can end up varying in edge cases.
WebKittens
No response
Title of the spec
CSS Object Model (CSSOM)
URL to the spec
https://drafts.csswg.org/cssom/#the-cssimportrule-interface
URL to the spec's repository
https://github.com/w3c/csswg-drafts
Issue Tracker URL
No response
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
No response
WebKit Bugzilla URL
No response
Radar URL
No response
Description
CSSImportRule.styleSheet became nullable in w3c/csswg-drafts#8773 from the issue w3c/csswg-drafts#8608. The behavior of
@import
had not been matched with CSSOM CSSImportRule.https://drafts.csswg.org/css-cascade-5/#at-import:
It was fixed as following.
https://drafts.csswg.org/cssom/#the-cssimportrule-interface
The text was updated successfully, but these errors were encountered: