diff --git a/packages/svelte/tests/css/samples/general-siblings-combinator-slot/expected.css b/packages/svelte/tests/css/samples/general-siblings-combinator-slot/expected.css index 06590583e8..35d4cb542b 100644 --- a/packages/svelte/tests/css/samples/general-siblings-combinator-slot/expected.css +++ b/packages/svelte/tests/css/samples/general-siblings-combinator-slot/expected.css @@ -1,10 +1,16 @@ + .d.svelte-xyz ~ .e:where(.svelte-xyz) { color: green; } .a.svelte-xyz ~ .g:where(.svelte-xyz) { color: green; } + .a.svelte-xyz ~ .b:where(.svelte-xyz) { color: green; } + .b.svelte-xyz ~ .c:where(.svelte-xyz) { color: green; } + .c.svelte-xyz ~ .f:where(.svelte-xyz) { color: green; } + .f.svelte-xyz ~ .g:where(.svelte-xyz) { color: green; } + .b.svelte-xyz ~ .f:where(.svelte-xyz) { color: green; } + .b.svelte-xyz ~ .g:where(.svelte-xyz) { color: green; } + .c.svelte-xyz ~ .b:where(.svelte-xyz) { color: green; } + .f.svelte-xyz ~ .b:where(.svelte-xyz) { color: green; } + .g.svelte-xyz ~ .b:where(.svelte-xyz) { color: green; } /* no match */ - /* (unused) .a ~ .b { color: green; }*/ - /* (unused) .b ~ .c { color: green; }*/ - /* (unused) .c ~ .f { color: green; }*/ - /* (unused) .f ~ .g { color: green; }*/ - /* (unused) .b ~ .f { color: green; }*/ - /* (unused) .b ~ .g { color: green; }*/ + /* (unused) .a ~ .d { color: red; }*/ + /* (unused) .e ~ .f { color: red; }*/ diff --git a/packages/svelte/tests/css/samples/general-siblings-combinator-slot/input.svelte b/packages/svelte/tests/css/samples/general-siblings-combinator-slot/input.svelte index afb3b5226c..f257c64ddb 100644 --- a/packages/svelte/tests/css/samples/general-siblings-combinator-slot/input.svelte +++ b/packages/svelte/tests/css/samples/general-siblings-combinator-slot/input.svelte @@ -5,14 +5,19 @@
diff --git a/packages/svelte/tests/css/samples/siblings-combinator-slot/expected.css b/packages/svelte/tests/css/samples/siblings-combinator-slot/expected.css index f4c2572bdc..a49951b47c 100644 --- a/packages/svelte/tests/css/samples/siblings-combinator-slot/expected.css +++ b/packages/svelte/tests/css/samples/siblings-combinator-slot/expected.css @@ -1,6 +1,12 @@ + .d.svelte-xyz + .e:where(.svelte-xyz) { color: green; } + .a.svelte-xyz + .b:where(.svelte-xyz) { color: green; } + .a.svelte-xyz + .c:where(.svelte-xyz) { color: green; } + .a.svelte-xyz + .f:where(.svelte-xyz) { color: green; } + .b.svelte-xyz + .c:where(.svelte-xyz) { color: green; } + .c.svelte-xyz + .b:where(.svelte-xyz) { color: green; } + .c.svelte-xyz + .f:where(.svelte-xyz) { color: green; } /* no match */ - /* (unused) .a + .b { color: green; }*/ - /* (unused) .b + .c { color: green; }*/ - /* (unused) .c + .f { color: green; }*/ + .a.svelte-xyz + .d:where(.svelte-xyz) { color: red; } + .d.svelte-xyz + .f:where(.svelte-xyz) { color: red; } diff --git a/packages/svelte/tests/css/samples/siblings-combinator-slot/input.svelte b/packages/svelte/tests/css/samples/siblings-combinator-slot/input.svelte index 630bc2fe97..b397ab7225 100644 --- a/packages/svelte/tests/css/samples/siblings-combinator-slot/input.svelte +++ b/packages/svelte/tests/css/samples/siblings-combinator-slot/input.svelte @@ -4,11 +4,16 @@