- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Mar 2021 09:59:11 +0000
- To: public-css-archive@w3.org
The idea is obviously not new, though I like it. As far as I can see, commas are allowed to separate [ident tokens](https://drafts.csswg.org/css-syntax-3/#ident-token-diagram). Though it needs to be clarified how string tokens are handled because they may contain commas. So I guess the following two should be the same: ```css span[data-x^=foo, bar] ``` ```css span[data-x^="foo", "bar"] ``` I.e. it matches all `<span>` elements with a `data-x` attribute value starting with either `foo` or `bar`. Though the following is different: ```css span[data-x^="foo, bar"] ``` Matching all `<span>` elements with a `data-x` attribute value starting with `foo, bar`. And what I implied in these examples is that those value lists should be allowed for all attribute selectors. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6042#issuecomment-789590990 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 March 2021 09:59:13 UTC