Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline SVG support #106

Merged
merged 1 commit into from
Nov 10, 2024
Merged

Inline SVG support #106

merged 1 commit into from
Nov 10, 2024

Conversation

nicoburns
Copy link
Collaborator

@nicoburns nicoburns commented Jul 29, 2024

This is a slightly hacky approach which serializes SVG subtrees of the DOM to string before parsing that string with usvg. But it gets us minimal support quickly.

@nicoburns nicoburns changed the title Inline SVG WIP Inline SVG support Nov 10, 2024
This support is currently "hacked" by serializing the
DOM to string before parsing with usvg. In future we
should implement SVG rendering directly from the DOM.
@nicoburns nicoburns marked this pull request as ready for review November 10, 2024 22:17
@nicoburns nicoburns enabled auto-merge (squash) November 10, 2024 22:17
@nicoburns nicoburns merged commit fef1a2c into DioxusLabs:main Nov 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant