Skip to content

[css-nesting] Why does CSSStyleRule not inherit from CSSGroupingRule? #8940

Description

@emilio

https://drafts.csswg.org/css-nesting/#cssom-style has:

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?

cc @tabatkins @sesse

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions