mirror of https://github.com/sveltejs/svelte
parent
947e7632d2
commit
7520988ef9
@ -0,0 +1,4 @@
|
||||
|
||||
x.svelte-xyz:has(y:where(.svelte-xyz)) {
|
||||
color: green;
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
{#snippet foo()}
|
||||
<y></y>
|
||||
{/snippet}
|
||||
|
||||
<x>
|
||||
this should be green
|
||||
{@render foo()}
|
||||
</x>
|
||||
|
||||
<style>
|
||||
x:has(y) {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in new issue