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

> I think if we can agree that insertRule() can modify an existing CSSNestingDeclarations, deleteRule() should maybe be able to do the same thing?

I would rather just accept that CSSNestingDeclarations can exist next to each other and that they'll collapse into one if round-tripped. Then we can keep `insertRule` etc. about as dumb as they are today.

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


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

Received on Thursday, 23 May 2024 11:49:54 UTC