Skip to content

SVG @html element not rentering from string #7450

@sbstnzmr

Description

@sbstnzmr

Describe the bug

When composing a svg from a string, elements are not rendered.

In the example both circles look the same in the DOM (with a different position and color). The element from the string only renders if no other element is in the svg. If it is alone, it works.

Reproduction

https://svelte.dev/repl/39625f96ce6941f8b7ca41f7e43738a7?version=3.47.0

Logs

No response

System Info

see REPL

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugruntimeChanges relating to runtime APIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions