Skip to content

[css-nesting] Define how invalid nested rules should be handled #2880

@upsuper

Description

@upsuper

There are several cases in the spec that a nested rule becomes invalid, but it doesn't mention how an invalid nested rule should be handled.

Should the specific sub-rule be dropped, or should its parent rule be treated invalid as well?

My intuition is that probably only the invalid sub-rule should be dropped, but it's not clear to me whether the other way around would be better.

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