Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-contain-3] Define the block contents of @container with <rule-list> #9215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions css-contain-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ Container Queries: the ''@container'' rule</h3>
is a [=conditional group rule=] whose condition contains
a <dfn export>container query</dfn>,
which is a boolean combination of [=container size queries=] and/or [=container style queries=].
Style declarations within the <<block-contents>> block of an ''@container'' rule
Style declarations within the ''@container'' rule
are [[css-cascade-4#filtering|filtered]] by its condition
to only match when the [=container query=]
is true for their element’s [=query container=].
Expand All @@ -580,7 +580,7 @@ Container Queries: the ''@container'' rule</h3>

<pre class="prod def">
@container <<container-condition>> {
<<block-contents>>
<<rule-list>>
}
</pre>

Expand Down