pull/14456/head
Rich Harris 2 years ago
parent 7e38ae61bc
commit 947e7632d2

@ -0,0 +1,4 @@
h1.svelte-xyz ~ p:where(.svelte-xyz) {
color: green;
}

@ -0,0 +1,13 @@
{#snippet foo()}
<p>this should be green</p>
{/snippet}
<h1>Hello</h1>
{@render foo()}
<style>
h1 ~ p {
color: green;
}
</style>

@ -0,0 +1,15 @@
<script>
import Child from './Child.svelte';
</script>
<Child>
<div class="a">a</div>
<div class="b" slot="wut">b</div>
<div class="c">c</div>
</Child>
<style>
.a + .c {
color: green;
}
</style>
Loading…
Cancel
Save