[csswg-drafts] [css-conditional-5] `CSSContainerRule.containerName`/`containerQuery` should return a list (#10845)

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

== [css-conditional-5] `CSSContainerRule.containerName`/`containerQuery` should return a list ==
(Follow-up on this [comment](https://github.com/w3c/csswg-drafts/issues/7551#issuecomment-2014543789).)

According to [this resolution](https://github.com/w3c/csswg-drafts/issues/7551#issuecomment-1854385652), the [`@container`](https://drafts.csswg.org/css-conditional-5/#at-ruledef-container) prelude grammar accepts a list of `<container-condition>`s:

  > `@container <container-condition># { <block-contents> }`
  >
  > `<container-condition> = [ <container-name> ]? <container-query>`

But [`CSSContainerRule.containerQuery`](https://drafts.csswg.org/css-conditional-5/#csscontainerrule) and `CSSContainerRule.containerName` still return a single container query/name.

Can you please tell me if there is any reason to withhold the appropriate changes on the CSSOM? Do you plan to rename the attributes? To remove them? To return a list of strings or a string of comma-separated values?

The current version of Chrome/FF (at least) only accept a single `<container-condition>`.

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


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

Received on Friday, 6 September 2024 12:29:06 UTC