chore: add css regression test (#11373)

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
pull/11378/head
Simon H 4 months ago committed by GitHub
parent 2d2508a2cd
commit 8b1a26904a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,3 @@
import { test } from '../../test';
export default test({});

@ -0,0 +1,9 @@
@starting-style {
.card.svelte-xyz{
height: 0;
}
}
.card.svelte-xyz {
color: red;
}

@ -0,0 +1,12 @@
<div class="card"></div>
<style>
@starting-style {
.card{
height: 0;
}
}
.card {
color: red;
}
</style>
Loading…
Cancel
Save