Skip to content

Commit

Permalink
chore: add css regression test (#11373)
Browse files Browse the repository at this point in the history
at rules are now left alone and you can have nested css in them which is scoped correctly. This just adds a test so we don't regress in the future

closes #9267
  • Loading branch information
dummdidumm authored Apr 29, 2024
1 parent 2d2508a commit 8b1a269
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { test } from '../../test';

export default test({});
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

@starting-style {
.card.svelte-xyz{
height: 0;
}
}
.card.svelte-xyz {
color: red;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="card"></div>

<style>
@starting-style {
.card{
height: 0;
}
}
.card {
color: red;
}
</style>

0 comments on commit 8b1a269

Please sign in to comment.