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

> 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).

Not that it matters much, but the explosion is worse than that, because the simple selectors can refer to the same element: `.a .b .c .d .e`, `.a .b .c.d .e`, `.a .b .c .d .e`, `.a .b.d .c .e`... I think that's 25 in total. So yeah, fully expanding is bad.

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


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

Received on Tuesday, 25 October 2022 14:44:10 UTC