mirror of https://github.com/sveltejs/svelte
fixes #15635pull/15643/head
parent
04257925d2
commit
43cca07c30
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: ensure `undefined` class still applies scoping class, if necessary
|
||||
@ -1 +1,2 @@
|
||||
<p class="svelte-xyz">Foo</p>
|
||||
<p class="svelte-xyz">Foo</p>
|
||||
<p class="svelte-xyz">Bar</p>
|
||||
@ -1,3 +1,4 @@
|
||||
<style>p { color: red; }</style>
|
||||
|
||||
<p class={undefined}>Foo</p>
|
||||
<p class={undefined}>Foo</p>
|
||||
<p class="{undefined}">Bar</p>
|
||||
|
||||
Loading…
Reference in new issue