Open xerc opened 2 years ago
<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
<style>
<symbol>
<use href="svg#id"
option/ convert CSS inline via https://github.com/RazrFalcon/svgcleaner before loadXML
loadXML
Hi @xerc any chance you can expand on what you're trying to solve here a bit please?
combine multible <style/<devs TAGs into single ones ; faster parsing (in the browser) and more structure (for humans)
<style>
is not considered within<symbol>
when referenced via<use href="svg#id"
https://stackoverflow.com/questions/39583880/external-svg-fails-to-apply-internal-cssoption/ convert CSS inline via https://github.com/RazrFalcon/svgcleaner before
loadXML