[csswg-drafts] [selectors] (#6928)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] ==
https://drafts.csswg.org/selectors/#grammar

> `<pseudo-element-selector> = ':' <pseudo-class-selector>`
>
> [...]
> 
> The four Level 2 pseudo-elements (`::before`, `::after`, `::first-line`, and `::first-letter`) may, for legacy reasons, be represented using the `<pseudo-class-selector>` grammar, with only a single ":" character at their start.

I think it should be:

> `<pseudo-element-selector> = ':'{1,2} <pseudo-class-selector>`

Or:

> `<pseudo-element-selector> = '::' <pseudo-class-selector>`
>
> [...]
>
> The four Level 2 pseudo-elements (`::before`, `::after`, `::first-line`, and `::first-letter`) may, for legacy reasons, be represented using the `<pseudo-class-selector>` grammar, with only a single ":" character at their start.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6928 using your GitHub account


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

Received on Monday, 3 January 2022 20:21:14 UTC