You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/validator/samples/siblings-combinator-in-cust.../input.svelte

19 lines
251 B

<svelte:options customElement="custom-element" />
<h1>test</h1>
<slot>
<span>Hello</span>
</slot>
<style>
/* This will not be picked up */
h1 + slot > span {
color: red;
}
/* This will be picked up */
h1 + span {
color: red;
}
</style>