File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -1515,15 +1515,17 @@ Layer Ordering</h4>
15151515 </div>
15161516
15171517 Layers that are defined inside of a [=conditional group rule=]
1518- do not contribute to the layer order unless the condition is true,
1519- or unless the [=conditional group rule=] evaluates contextually
1520- for different elements on the page.
1521-
1522- Note: A feature like "container queries"
1523- would need to evaluate contextually for individual elements.
1524- Because of that, layers defined inside a container query
1525- would be considered part of the global layer order
1526- regardless of the condition.
1518+ do not contribute to the layer order unless the condition is true
1519+ or unless the [=conditional group rule=] can evaluate differently
1520+ for different elements in the document.
1521+
1522+ Note: Since the layer order is global to the document,
1523+ any layers defined inside an element-sensitive [=conditional group rule=]
1524+ need to be accommodated when establishing the global layer order,
1525+ regardless of the rule's condition.
1526+ Conditions that are global to the document, however
1527+ (such as ''@media'' and ''@supports'' )
1528+ can accommodate such ''@layer'' rules conditionally.
15271529
15281530 <div class=example>
15291531 For example,
You can’t perform that action at this time.
0 commit comments