Re: [csswg-drafts] [css-nesting-1] Why is CSSNestingRule separate? (#7831)

Another thing I guess we'd need to care about: If I have a rule

```css
.foo {
  & .bar { … }
}
```

and then do ``document.styleSheets[0].rules[0].rules[1].selectorText = '.bar &';``, does it suddenly change type to CSSNestingRule, or is this illegal?

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


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

Received on Tuesday, 18 October 2022 09:39:25 UTC