Re: [csswg-drafts] [css-nesting] How to resolve nested CSS with pseudo elements in the parent (#7433)

"How selectors get rewritten" has only a few possibiltiies:

1. Use `:is()`.
2. Fully expand the selectors, possibly resulting in a combinatorial explosion of selector length. (`.a .b .c { .d .e & {...}}` expands to, hm, 5-choose-2 selectors (10 total, in this case).
3. Use something exactly like `:is()` except it allows more stuff.

We're currently doing 1 (effectively). 2 is right out. 3 just raises the question of why we can't do that stuff in `:is()`.

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


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

Received on Friday, 21 October 2022 15:47:55 UTC