Re: [csswg-drafts] [css-selectors] Improve the usefulness of specificity of Tags & IDs (#4690)

@ThomasGutmann That's what https://drafts.csswg.org/css-cascade-6/#scope-combinator is trying to introduce.

But you can already have something like that with custom properties:

```css
#my-module { --color: blue }
#my-module ul.foos li { color: var(--color); }
#my-foo { --color: red; }   
```

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


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

Received on Tuesday, 31 January 2023 19:38:06 UTC