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

It looks like we currently return an empty string for `containerName` when no name is defined. I imagine we would do the same thing in a returned list.

We also resolved to allow name-only queries, which means the `containerQuery` can also become empty – which needs to be updated as well. I expect that should also return an empty string when missing? And then would return an empty string in a list if there are multiple?

It's not clear to me if `conditionText` should remain a string of all conditions, or if it should also become a list of names/conditions?

/cc @emilio

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10845#issuecomment-2737377404 using your GitHub account


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

Received on Wednesday, 19 March 2025 16:51:35 UTC