Re: [csswg-drafts] [css-nesting-1] CSSOM for nested media query rules (#7850)

> Does option 2 mean that you cannot add a single declaration to the nested `@media` via CSSOM except with `nestedMedia.cssText`?

It sounds like adding a single declaration would then work via `nestedMedia.cssRules[0].style.setProperty()`. @tabatkins Correct?

If so, I'm for option 2, as it allows to keep the OM for `CSSMediaRule` clean while still providing syntax sugar for CSS.

Sebastian

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


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

Received on Friday, 13 January 2023 22:34:43 UTC