- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Nov 2023 14:06:48 +0000
- To: public-css-archive@w3.org
This is also exposing the fact that Firefox considers the specificity of a pseudo-element to be the same as a type selector, while Blink seems to treat it as a class selector? I believe this might not be observable before CSS nesting. ```html <!DOCTYPE html> <style> p { border: 20px solid } *, ::before { & { border-left-color: red; }} p { border-left-color: green; } p { border-right-color: red; } *, ::before { & { border-right-color: green; }} *, ::before { &.p { border-top-color: red; }} .p.p { border-top-color: green; } .p.p { border-bottom-color: green; } *, ::before { &.p { border-bottom-color: red; }} </style> <p class="p">Which color is this border?</p> ``` -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9600#issuecomment-1812597715 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 15 November 2023 14:06:50 UTC