Re: [csswg-drafts] [css-nesting] Treating nesting as syntactic sugar? (#8698)

> What if we treated nesting as parse-time syntactic sugar and always generated the CSSOM in the un-nested form?

How about both? I.e. have the CSSOM contain the nested and unnested versions.

> Then it would be trivial to have a combinatorial explosion. Somewhat like what's described in https://github.com/w3c/csswg-drafts/issues/8310#issuecomment-1383810771.

But the internal representation can still be succint.

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


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

Received on Monday, 10 April 2023 22:22:37 UTC