Skip to content

Commit efc0c6f

Browse files
authored
[css-conditional-5] Define the block contents of @container with <rule-list> (#9215)
1 parent 90a89f1 commit efc0c6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-conditional-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ Container Queries</h2>
467467
There are cases where the box for a [=pseudo-element=] is generated as a
468468
sibling box of its originating element's box. If we allowed querying the size
469469
of a sibling box, it would introduce layout cycles.
470-
470+
471471
For example, the ''::scroll-marker-group'' and ''::scroll-button()'' pseudo-elements
472472
generate sibling boxes of their originating element's box.
473473
These pseudo-elements will not be able to query their originating scroller
@@ -1027,7 +1027,7 @@ Container Queries: the ''@container'' rule</h3>
10271027
is a [=conditional group rule=] whose condition contains
10281028
a <dfn export>container query</dfn>,
10291029
which is a boolean combination of [=container size queries=] and/or [=container style queries=].
1030-
Style declarations within the <<block-contents>> block of an ''@container'' rule
1030+
Style declarations within the ''@container'' rule
10311031
are [[css-cascade-4#filtering|filtered]] by its condition
10321032
to only match when the [=container query=]
10331033
is true for their element’s [=query container=].
@@ -1036,7 +1036,7 @@ Container Queries: the ''@container'' rule</h3>
10361036

10371037
<pre class="prod def">
10381038
@container <<container-condition>># {
1039-
<<block-contents>>
1039+
<<rule-list>>
10401040
}
10411041
</pre>
10421042

0 commit comments

Comments
 (0)