Re: [csswg-drafts] [selectors] Should `.foo-*` match `foo-`? (#14291)

It’s not too uncommon to encounter classes with double hyphens, e.g. `foo--bar`, and (outside CSS) I’ve seen hyphens (but more often underscores) as end-side fillers where name components had to be padded to meet a certain fixed length, or whitespace had been substituted. 

I understand that those are very weak counter examples. Deliberately, a human author will hardly ever end a prefix with the same character that is used to join it with the following part. 

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


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

Received on Tuesday, 11 August 2026 17:28:49 UTC