Re: [csswg-drafts] [css-selectors] Reconsider removing selector list invalidation (#3082)

Gentle reminder that, beside making developer’s life more interesting, selector list invalidation <del>blunder</del> <ins>rule</ins> causes real breakage. [Recently read in a Stackoverflow comment](https://stackoverflow.com/questions/58818299/css-variables-not-working-in-dialogbackdrop#comment112148097_63322762), working around ::backdrop not inheriting from any element,

```css
:root, ::backdrop { --color-backdrop: red; }
```
and not realising that it breaks not only legacy browsers, but also latest (at time of writing) Safari, whoops.


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


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

Received on Friday, 29 October 2021 11:12:19 UTC