Description
E.g. @property
, @font-face
, etc.
css-contain-3:
The
@container
rule is a conditional group rule [...]
css-conditional-3:
[about conditional group rules]: When the condition is true, CSS processors must apply the rules inside the group rule as though they were at the group rule’s location; [...]
However, that text in css-conditional-3 was probably written with the assumption that the condition can be evaluated parse-time. @container
is more complicated than this, and can evaluate to both true and false depending on the element we're resolving style for. Maintaining a number of different @rule-realities dynamically per element is probably not a practical option.
For @layer
we decided that it should impact layer order regardless of evaluation. Not sure if that translates into anything else.