[csswg-drafts] [css-contain-3] @container syntax in the specification doesn't allow example cases mentioned therein (#6820)

RolandHeinze has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-3] @container syntax in the specification doesn't allow example cases mentioned therein ==
In the [CSS Containment Module Level 3 Specification](https://drafts.csswg.org/css-contain-3/#container-rule) the syntax for the `@container` rule does not allow simple container queries like
```css
@container (block-size > 12em) {
  .card { margin-block: 2em; }
}
```
The `<container-query>` production rule only allows the use of `size()` such that we get `@container size(block-size > 12 em) { ... }`. Therefore, either the examples in the specification need an update or the syntax definition of `@container` needs to be extended.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6820 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 17 November 2021 15:13:53 UTC