mirror of https://github.com/sveltejs/svelte
parent
99b4cfbb51
commit
1f25bd4f47
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: correctly prune CSS for elements inside snippets
|
@ -0,0 +1,4 @@
|
||||
|
||||
x.svelte-xyz y:where(.svelte-xyz) {
|
||||
color: green;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{#snippet foo()}
|
||||
<x>
|
||||
<y></y>
|
||||
</x>
|
||||
{/snippet}
|
||||
|
||||
{@render foo()}
|
||||
|
||||
<style>
|
||||
x y {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue