[csswg-drafts] [css-contain] <container-name> in @container ambiguities (#7203)

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

== [css-contain] <container-name> in @container ambiguities ==
Two thoughts:

 * `<container-name>` kinda conflicts with `<container-condition>`, as `not` can be a valid `<container-name>`, how should `@container not (width > 300px)` be parsed? There's an obvious answer, but probably that means that `not` should not be a valid `<container-name>`?

 * Per spec `<container-name>` includes `none` and multiple `<custom-idents>`, is `@container foo bar (width > 300px)` expected to be valid? I don't see any test for multiple container names in the rule, so just checking whether that's intentional or not.

cc @andruud @mirisuzanne @anttijk

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


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

Received on Thursday, 7 April 2022 14:17:54 UTC