Skip to content

Invalid selector when nesting a selector beginning with a combinator #13433

@Rich-Harris

Description

@Rich-Harris

Describe the bug

This is valid CSS, but Svelte throws an 'Invalid Selector' error

.foo {
  > .bar {
    color: red;
  }
}

The same goes for other combinators

Reproduction

link

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions