Skip to content

Commit ade6b6e

Browse files
authored
chore: add css regression test (#11658)
closes #9207
1 parent c2f75dc commit ade6b6e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.foo.svelte-xyz[data-state='checked'] {
2+
background-color: red;
3+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- an action or sth else could dynamically set the data-state -->
2+
<div class="foo"></div>
3+
<style>
4+
.foo:global([data-state='checked']) {
5+
background-color: red;
6+
}
7+
</style>

0 commit comments

Comments
 (0)