Skip to content

[cssom][css-conditional] Should there be an interface for @supports rules? #844

@bzbarsky

Description

@bzbarsky

https://drafts.csswg.org/cssom/#cssgroupingrule has no concept of @supports rules. Maybe it should.

The way this works in Gecko is that there is a CSSConditionRule interface which inherits from CSSGroupingRule and has .conditionText on it. Inheriting from this are CSSMediaRule and CSSSupportsRule; the latter is an empty interface for now.

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