This repository was archived by the owner on Dec 28, 2021. It is now read-only.
This repository was archived by the owner on Dec 28, 2021. It is now read-only.
Concatenative selectors #17
Closed
Description
Hi @jonathantneal, thanks for making such a cool postcss plugin!
I feel like I've found a potential bug with this. The spec doesn't mention this behaviour specifically, but I'm quite sure it is undesired.
Input:
.foo {
color: blue;
&bar {
color: red;
}
}
This plugins output:
.foo {
color: blue
}
.foobar {
color: red;
}
I would expect to see an error, I think, as the spec suggests &
is equivalent of :matches()
- which, to my understanding, means they shouldn't concatenate like this.
Perhaps @tabatkins could clarify this?
Metadata
Metadata
Assignees
Labels
No labels