Skip to content

Commit 0060db4

Browse files
[css-cascade-5] Make CSSImportRule.layerName nullable w3c#6576 (w3c#6849)
Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
1 parent af776de commit 0060db4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-cascade-5/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1879,13 +1879,14 @@ Extensions to the <code>CSSImportRule</code> interface</h3>
18791879

18801880
<pre class='idl'>
18811881
partial interface CSSImportRule {
1882-
readonly attribute CSSOMString layerName;
1882+
readonly attribute CSSOMString? layerName;
18831883
};
18841884
</pre>
18851885

18861886
Its <dfn attribute for=CSSImportRule>layerName</dfn> attribute represents
18871887
the [=layer name=] declared in the at-rule itself,
1888-
and is an empty string if the layer is anonymous.
1888+
and is an empty string if the layer is anonymous,
1889+
or null if the at-rule does not declare a layer.
18891890

18901891
<h3 id="the-csslayerblockrule-interface">
18911892
The <code>CSSLayerBlockRule</code> interface</h3>

0 commit comments

Comments
 (0)