Skip to content

Commit a67d361

Browse files
committed
[cssom-1] Remove incorrect note.
An @import rule always has an associated stylesheet, but there may not be (from the author's perspective, at least), an empty cssRules list. As mentioned in w3c#3452, network errors or other bits can make accessing the rules throw a SecurityError. Closes w3c#3452.
1 parent ecc7db8 commit a67d361

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cssom-1/Overview.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,8 +1793,7 @@ attribute of the associated <a>CSS style sheet</a>.
17931793

17941794
The <dfn attribute for=CSSImportRule>styleSheet</dfn> attribute must return the associated <a>CSS style sheet</a>.
17951795

1796-
Note: If loading of the style sheet fails its <a for=CSSStyleSheet>CSS rules</a>
1797-
list is simply empty, i.e., an <code>@import</code> at-rule always has an associated <a>CSS style sheet</a>.
1796+
Note: An <code>@import</code> at-rule always has an associated <a>CSS style sheet</a>.
17981797

17991798

18001799
### The {{CSSGroupingRule}} Interface ### {#the-cssgroupingrule-interface}

0 commit comments

Comments
 (0)