Re: [csswg-drafts] [selectors-4] Exact attribute-substring matching (#8124)

Yeah, it's not uncommon to have this ordered (or perhaps partially ordered, with the first token treated specially and the rest unordered) sort of token representation in design systems. The `^=` misleads you a bit in this regard, leading to the exact mistake @jakob-e points out, where a `[attr^="card"]` ends up misfiring on "card-foo" subtypes.

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


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

Received on Tuesday, 22 November 2022 20:32:50 UTC