- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 Jun 2023 15:41:59 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-nesting] Why does CSSStyleRule not inherit from CSSGroupingRule? ==
https://drafts.csswg.org/css-nesting/#cssom-style has:
```webidl
partial interface CSSStyleRule {
[SameObject] readonly attribute CSSRuleList cssRules;
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
undefined deleteRule(unsigned long index);
};
```
Why doing that rather than inheriting from `CSSGroupingRule`, which gives you [that](https://drafts.csswg.org/cssom/#the-cssgroupingrule-interface)?
cc @tabatkins @sesse
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8940 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 June 2023 15:42:01 UTC