- From: Emilio Cobos Álvarez via GitHub <noreply@w3.org>
- Date: Fri, 14 Nov 2025 08:51:07 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-nesting-1] [selectors-4] Figure out the specificity of nesting with pseudos and non-pseudos ==
In #9702, we're defining that something like this works and selects the pseudo-element:
```css
.foo, ::before, ::after {
&:hover { color: red }
}
```
However, it's not currently defined what the specificity of a pseudo-element is.
This is usually not observable, but will become observable now, so we also need to define that.
See #9600 for a similar bug where we defined that those are zero
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13108 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 November 2025 08:51:07 UTC