Re: [csswg-drafts] [selectors-4] Allow more pseudo-classes following a pseudo-element (#7085)

So basically, the basic syntax of the argument of logical combination pseudo-classes following a pseudo-element is now allowed to be a very small subset of `<*-selector-list>` specific to the pseudo-class and the pseudo-element.

It would be nice to define this syntax explicitly, to avoid parsing against `<forgiving-selector-list>` whereas a simple list of user action pseudo-class selectors would be expected. 

I do not think pseudo-elements are focusable so user actions do not even need to be stackable, and the basic syntax of the argument of `:is()` or `:where()` following a pseudo-element could be `<user-action-pseudo-class-selector>#`, which is way more efficient to parse than `<forgiving-selector-list>`, I think.

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


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

Received on Thursday, 24 November 2022 13:49:02 UTC