[csswg-drafts] [css-conditional] CSSContainerRule.containerQuery does not define how to handle omitted `<container-query>` (#11269)

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

== [css-conditional] CSSContainerRule.containerQuery does not define how to handle omitted `<container-query>` ==
[The CSSContainerRule interface](https://drafts.csswg.org/css-conditional-5/#the-csscontainerrule-interface) says about its `containerQuery` that it "must return the [&lt;container-query&gt;](https://drafts.csswg.org/css-conditional-5/#typedef-container-query) that was specified".
The grammar allows a rule with only a container name and no container query, so I'm wondering: What should this return in such a case?
Empty string seems to make sense, given that's what containerName does.

Currently, neither Firefox nor Chrome seem to support this so unless Safari does, I don't think there's any precedent here.

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


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

Received on Sunday, 24 November 2024 14:18:18 UTC