These two lines give different results: <line x1="0" y1="110" x2="30em" y2="110" style="font-size: 10"/> <line x1="0" y1="110" x2="30em" y2="110" font-size="10"/> Expected would be a value of x2="300". The first line gives sth. bigger, as the font-size: 10 is not handled - as it seems. Not investigated yet, but SVGLength::value() deals with em/exs handling.
Created attachment 16016 [details] First attempt Make sure SVG inline style attributes parse in non-strict mode (because lengths without unit should be allowed in SVG). Cheers, Rob.
Comment on attachment 16016 [details] First attempt Excellent spot. I guess the other changed testcases are all improvments? In that case, r=me. Greetings, Niko
Landed in r25145.