Skip to content

Commit

Permalink
[css-cascade-5] Make CSSImportRule.layerName nullable #6576 (#6849)
Browse files Browse the repository at this point in the history
Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
  • Loading branch information
xiaochengh and tabatkins committed Dec 1, 2021
1 parent af776de commit 0060db4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions css-cascade-5/Overview.bs
Expand Up @@ -1879,13 +1879,14 @@ Extensions to the <code>CSSImportRule</code> interface</h3>

<pre class='idl'>
partial interface CSSImportRule {
readonly attribute CSSOMString layerName;
readonly attribute CSSOMString? layerName;
};
</pre>

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

<h3 id="the-csslayerblockrule-interface">
The <code>CSSLayerBlockRule</code> interface</h3>
Expand Down

0 comments on commit 0060db4

Please sign in to comment.