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/packages/svelte/tests/css/samples/is/expected.css

35 lines
663 B

x.svelte-xyz :is(y:where(.svelte-xyz)) {
color: green;
}
x.svelte-xyz :is(y:where(.svelte-xyz) /* (unused) .unused*/) {
color: green;
}
/* (unused) x :is(.unused) {
color: red;
}*/
x.svelte-xyz :is(y) {
color: green;
}
x.svelte-xyz :is(.foo) {
color: green;
}
.foo :is(x.svelte-xyz) {
color: green;
}
/* (unused) :global(.foo) :is(.unused) {
color: red;
}*/
x.svelte-xyz :is(html *) {
color: green;
}
x.svelte-xyz :is(html:where(.svelte-xyz) :where(.svelte-xyz)) {
color: red; /* TODO would be nice to prune this one day */
}
y.svelte-xyz :is(x:where(.svelte-xyz) :where(.svelte-xyz)) {
color: green; /* matches z */
}