Re: [csswg-drafts] [selectors-4] Legacy `:` pseudo-element cannot appear before type/subclass selectors (#8122)

The intent of the additional rule is to say that you can spell a few pseudo-elements with a single colon:

> The four [Level 2](https://www.w3.org/TR/CSS2/selectors.html#pseudo-element-selectors) [pseudo-elements](https://w3c.github.io/csswg-drafts/selectors/#pseudo-element) ([::before](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-before), [::after](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-after), [::first-line](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-first-line), and [::first-letter](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-first-letter)) may, for legacy reasons, be represented using the [<pseudo-class-selector>](https://w3c.github.io/csswg-drafts/selectors/#typedef-pseudo-class-selector) grammar, with only a single ":" character at their start.

I should probably write that out more clearly. I can just merge that into the grammar itself rather than putting it in prose.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8122#issuecomment-1324261392 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 21:32:33 UTC