Skip to content

[css-nesting-1][css-cascade-6] Should/can relative selectors be allowed un-nested #12418

Closed
@mirisuzanne

Description

@mirisuzanne

@LeaVerou raised this question in a discussion about scoped imports:

why aren't they valid? We resolved a while ago that outside of nesting, :scope and & resolve to :root. If > h2 is essentially equivalent to & > h2, why wouldn't that be valid in the root scope?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions