add another failing test for #9645

pull/10006/head
Karol Czeryna 3 years ago
parent 93c168eda1
commit 1abeb23d4e

@ -0,0 +1,10 @@
import { test } from '../../test';
export default test({
test({ assert, target }) {
const svg = target.querySelector('svg');
const path = target.querySelector('path');
assert.equal(svg?.namespaceURI, 'http://www.w3.org/2000/svg');
assert.equal(path?.namespaceURI, 'http://www.w3.org/2000/svg');
}
});

@ -0,0 +1,13 @@
<script>
const iconNode = [["path", { "d": "M21 12a9 9 0 1 1-6.219-8.56" }]];
</script>
<svg
width="24" height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor" stroke-width="2">
{#each iconNode as [tag, attrs]}
<svelte:element this={tag} {...attrs}/>
{/each}
</svg>
Loading…
Cancel
Save