mirror of https://github.com/sveltejs/svelte
fix: ensure SVG element attributes have case preserved (#13935)
* fix: ensure SVG element attributes have case preserved * fix: ensure SVG element attributes have case preserved * fix: ensure SVG element attributes have case preservedrevert-13651-compile-warning
parent
feb2d85f46
commit
441124c5c7
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: ensure SVG element attributes have case preserved
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: `<svg viewBox="0 0 10 10"></svg><svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"></svg><svg viewBox=""></svg>`
|
||||
});
|
@ -0,0 +1,4 @@
|
||||
<svelte:options namespace="svg" />
|
||||
<svelte:element this="svg" viewBox="0 0 10 10" />
|
||||
<svelte:element this="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" />
|
||||
<svg viewBox="" />
|
Loading…
Reference in new issue