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

The important question to ask is, are you actually gonna need it? It's fundamentally a sugar operation, and while all of Nesting is sugar, we must keep in mind what the audience size is of the sugar, and how much benefit it brings them.

I suspect that the audience for "I'm serving identical stylesheets for old and new browsers, except one uses Nesting and the other doesn't, and I need to normalize both of them to a common format because I'm doing some CSSOM manipulation of the stylesheet itself" is a pretty small segment of the author population. ^_^ So, "do it in a library" is probably the better solution for this.

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


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

Received on Tuesday, 18 April 2023 18:46:54 UTC