Closed moazin closed 2 years ago
It seems that this comes from the stylesheet submodule which comes from adobe/stylesheet which is a fork of adozenlines/stylesheet. It parses by reading the string until the ;
and the code doesn't do anything if no ;
is found in the string. Very simple addition of few lines can fix it. I'm not sure how to get it fixed though. Should I submit a PR to the Adobe fork? @dirkschulze
style attribute is deprecated in latest version of SVG 2.0.
Specifying
stop
attributes likestop-color
andstop-opacity
is possible by using thestyle
attribute. However, if there is only one property set in thestyle
attribute and a semi-colon is missing, it's not parsed and interpreted properly. I'm not sure about whether this is correct according to the CSS standard or not, but a lot of glyphs in NotoColorEmoji are like this. They do not have a;
at the end of thestyle
attribute's value.Example document (this doesn't work):
This does work: