coindicentally this also fixes #14189

pull/14229/head
Simon Holthausen 3 days ago
parent cca75841ce
commit 261d6f12a0

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: prevent nested pseudo class from being marked as unused

@ -27,3 +27,12 @@
span:not(p span) {
color: green;
}
.x {
.svelte-xyz:not(.foo) {
color: green;
}
&:not(.foo) {
color: green;
}
}

@ -34,4 +34,13 @@
:global(span:not(p span)) {
color: green;
}
:global(.x) {
:not(.foo) {
color: green;
}
&:not(.foo) {
color: green;
}
}
</style>
Loading…
Cancel
Save