:has() pseudo-class doesn't compile correctly when nested
kaelig opened this issue · 0 comments
kaelig commented
The :has
pseudo-class doesn't get compiled correctly when nested, see https://www.sassmeister.com/gist/a3dc4d7d09c7434bffb7dce3078e7836
Source
.foo > p:not(:has(> img)) {
max-width: 42rem;
}
.foo {
> p:not(:has(> img)) {
max-width: 42rem;
}
}
Expected
.foo > p:not(:has(> img)) {
max-width: 42rem;
}
.foo > p:not(:has(> img)) {
max-width: 42rem;
}
Actual
.foo > p:not(:has(> img)) {
max-width: 42rem;
}
.foo > p {
max-width: 42rem;
}