mirror of https://github.com/sveltejs/svelte
avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
parent
95606ad0f8
commit
bdb34a243c
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
cascade: false
|
||||
};
|
@ -0,0 +1 @@
|
||||
.test[svelte-xyz]>div[svelte-xyz]{color:#0af}
|
@ -0,0 +1 @@
|
||||
<div svelte-xyz="" class="test"><div svelte-xyz="">Testing...</div></div>
|
@ -0,0 +1,11 @@
|
||||
<div class="test">
|
||||
<div>
|
||||
Testing...
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.test > div {
|
||||
color: #0af;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue