Skip to content

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

Closed
@emilio

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

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