Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve use handling #111

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Improve use handling #111

merged 3 commits into from
Feb 23, 2024

Conversation

bsweeney
Copy link
Member

  • ensures nested groups are rendered
  • merges styles from use element with referenced element
  • fixes order of end render calls

- ensures nested groups are rendered
- merges styles from use element with referenced element
- fixes order of end render calls
@bsweeney bsweeney added this to the 0.5.2 milestone Dec 11, 2023
@bsweeney bsweeney linked an issue Jan 10, 2024 that may be closed by this pull request
This change adds a separate Symbol tag class since the element should be treated slightly different from a Group, namely in that a vewBox can be applied. Additionally, a Symbol is like a def in that it should not be rendered until referenced by a Use element.

fixes #58
@bsweeney bsweeney merged commit 964d9a9 into master Feb 23, 2024
12 of 13 checks passed
@bsweeney bsweeney deleted the use-improvements branch February 23, 2024 20:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<use xlink:href="#ID"> problem
1 participant