mirror of https://github.com/sveltejs/svelte
fix: address css class matching regression (#16204)
* fix: address css class matching regression * address feedback --------- Co-authored-by: 7nik <kifiranet@gmail.com>pull/16205/head
parent
d941cf5d3b
commit
659198a95c
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: address css class matching regression
|
@ -1,3 +1,5 @@
|
||||
.first.svelte-xyz { color: green }
|
||||
|
||||
.zero.first.svelte-xyz { color: green }
|
||||
.second.svelte-xyz { color: green }
|
||||
/* (unused) .third { color: red }*/
|
||||
.third.svelte-xyz { color: green }
|
||||
/* (unused) .forth { color: red }*/
|
||||
|
@ -1,7 +1,9 @@
|
||||
<div class:first={true} class:second={true}></div>
|
||||
<div class="zero" class:first={true}></div>
|
||||
<div class:second={true} class:third={true}></div>
|
||||
|
||||
<style>
|
||||
.first { color: green }
|
||||
.zero.first { color: green }
|
||||
.second { color: green }
|
||||
.third { color: red }
|
||||
.third { color: green }
|
||||
.forth { color: red }
|
||||
</style>
|
Loading…
Reference in new issue