- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Jan 2025 12:14:17 +0000
- To: public-css-archive@w3.org
I strongly believe it is an anti-pattern to special-case the first entry in a space (or comma) separated list of entries in an attribute value. Even though it exists, Selectors should therefore not add special syntax for matching it. Authors should use two attributes instead. For hierarchical attribute values, we do have a convention already: the top-most level is prefixed to the lower level with a hyphen between them. The top level can be matched by `|=`, i.e. `[foo|=bar]` is equivalent to `:is([foo=bar], [foo^=bar-])`. -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8124#issuecomment-2582572519 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 January 2025 12:14:18 UTC