- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Feb 2023 19:25:37 +0000
- To: public-css-archive@w3.org
> Should this implicit nested style rule always exist when the condition rule is nested, even if it has no declaration? I mean, does CSSMediaRule.cssRules[0] have to be an empty nested style rule? No, it only exists when it needs to exist. > If not, what should happen with CSSMediaRule.cssText += 'color: red'? Should the previously exsting rule (& { color: green }) move to index 1? Nothing should happen, because the spec defines `.cssText` as doing nothing when set. ^_^ (It's not technically `readonly`, in the WebIDL sense, for historical reasons, but it's readonly in practice.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7850#issuecomment-1421327207 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 February 2023 19:25:38 UTC