Skip to content

Commit db337bd

Browse files
committed
tests for P-nodes
1 parent f2b4bdf commit db337bd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@
2929
nav > ul.menu { display: flex; }
3030
h2 + p.note { margin-top: 0; }
3131
li:nth-child(2n + 1) { color: red; }
32+
.button:hover { opacity: 0.5; }
33+
.card::before {
34+
content: "";
35+
display: block;
36+
}
3237
</style>

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,14 @@
4646
li:nth-child(2n + 1) {
4747
color: red;
4848
}
49+
50+
.button:hover {
51+
opacity: 0.5;
52+
}
53+
54+
.card::before {
55+
content: "";
56+
57+
display: block;
58+
}
4959
</style>

0 commit comments

Comments
 (0)