File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ Importing Style Sheets: the ''@import'' rule</h2>
146146 into its own anonymous [=cascade layer=]
147147 or into the named [=cascade layer=] .
148148
149+ The layer is added to the [[#layer-ordering|layer order]]
150+ even if the import fails to load the stylesheet,
151+ but is subject to any [=import conditions=]
152+ (just as if declared by an ''@layer'' rule wrapped
153+ in the appropriate [=conditional group rules=] ).
154+
149155 * the optional [<<supports-condition>>|<<declaration>>] and <<media-query-list>>
150156 (collectively, the <dfn export>import conditions</dfn> )
151157 state the conditions under which it applies.
@@ -1946,6 +1952,9 @@ Non-trivial changes since the <a href="https://www.w3.org/TR/2021/WD-css-cascade
19461952 (<a href="https://github.com/w3c/csswg-drafts/issues/6193">Issue 6193</a> )
19471953 * Added [[#layer-apis]] section.
19481954 (<a href="https://github.com/w3c/csswg-drafts/issues/6576">Issue 6576</a> )
1955+ * Clarified the behavior of the ''layer'' keyword and ''layer()'' function
1956+ on ''@import'' rules.
1957+ (<a href="https://github.com/w3c/csswg-drafts/issues/6776">Issue 6776</a> )
19491958
19501959<h3 id="changes-2021-08">
19511960Changes since the 29 August 2021 Working Draft</h3>
You can’t perform that action at this time.
0 commit comments