Re: [csswg-drafts] [css-syntax][css-nesting] Design of `@nest` rule (#10234)

I don't think Elika suggested a new parsing method. She clearly said `insertRule()` could be reused, but that we'd also accept `insertDeclarations()`. In your rephrasing you just went with the latter?

I think whether the first declaration block is represented as a rule is up for discussion too. Perhaps there's less to settle if we don't do that.

And the reason we made this trade-off is because we are willing to accept a slightly less nice CSSOM (which is already quite terrible with all its string-based APIs and reportedly only used by 1% of web developers) to the benefit of all other web developers.

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


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

Received on Wednesday, 22 May 2024 06:46:56 UTC