Skip to content

Commit

Permalink
chore: add css regression test (#11658)
Browse files Browse the repository at this point in the history
closes #9207
  • Loading branch information
dummdidumm authored May 16, 2024
1 parent c2f75dc commit ade6b6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.foo.svelte-xyz[data-state='checked'] {
background-color: red;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- an action or sth else could dynamically set the data-state -->
<div class="foo"></div>
<style>
.foo:global([data-state='checked']) {
background-color: red;
}
</style>

0 comments on commit ade6b6e

Please sign in to comment.