Skip to content

Commit 78e602c

Browse files
committed
tests for N-nodes
1 parent 273e3d7 commit 78e602c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/svelte/tests/print/samples/style/input.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@
2828
.container .item { color: red; }
2929
nav > ul.menu { display: flex; }
3030
h2 + p.note { margin-top: 0; }
31+
li:nth-child(2n + 1) { color: red; }
3132
</style>

packages/svelte/tests/print/samples/style/output.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@
4242
h2 + p.note {
4343
margin-top: 0;
4444
}
45+
46+
li:nth-child(2n + 1) {
47+
color: red;
48+
}
4549
</style>

0 commit comments

Comments
 (0)