mirror of https://github.com/sveltejs/svelte
fix: ensure `undefined` class still applies scoping class, if necessary (#15643)
fixes #15635pull/15647/head
parent
6f8068637c
commit
b93d004d98
@ -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">Bar</p>
|
@ -1,3 +1,4 @@
|
||||
<style>p { color: red; }</style>
|
||||
|
||||
<p class={undefined}>Foo</p>
|
||||
<p class="{undefined}">Bar</p>
|
||||
|
Loading…
Reference in new issue