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

[POC] extract/merge <defs>/<style> #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xerc
Copy link
Contributor

@xerc xerc commented Aug 19, 2021

No description provided.

@xerc
Copy link
Contributor Author

xerc commented Aug 19, 2021

<style> is not considered within <symbol> when referenced via <use href="svg#id"
https://stackoverflow.com/questions/39583880/external-svg-fails-to-apply-internal-css

option/ convert CSS inline via https://github.com/RazrFalcon/svgcleaner before loadXML

@darylldoyle darylldoyle added needs info Need more info/context needs tests labels Feb 14, 2022
@darylldoyle
Copy link
Owner

darylldoyle commented Feb 14, 2022

Hi @xerc any chance you can expand on what you're trying to solve here a bit please?

@xerc
Copy link
Contributor Author

xerc commented Feb 14, 2022

combine multible <style/<devs TAGs into single ones ; faster parsing (in the browser) and more structure (for humans)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Need more info/context needs tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants