Re: [csswg-drafts] [selectors] New selector to facilitate utility classes (`[name~^=value]`? `.prefix-*`?) (#10001)

The difference is in the subject. Saying that something is harder to learn is only a statement about the thing itself. It isn't a statement about any individual or any group of people. I definitely didn't want to say or imply anything negative about people who are learning CSS :)

---------

I might be looking at the proposed `.foo-*` syntax with the tokenizing and parsing rules too much in mind.

A wildcard selector as it exists today selects and represents an actual element that can be of any type.

Whereas `*` in `.foo-*` is more like a modifier. And it is only a modifier on the immediately preceding part.

This reminds me a bit of pseudo element selectors which should have had a proper combinator, but don't.



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


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

Received on Tuesday, 19 March 2024 21:25:49 UTC