Page MenuHomePhabricator

SVG parsing of styles
Closed, ResolvedPublic

Description

Hi have a look at this SVG image:
http://test.wikipedia.org/wiki/Image:Test_inlinestyle_to_style_el_1.svg
And this PNG image (FF rendering of that SVG):
http://test.wikipedia.org/wiki/Image:Test_inlinestyle_to_style_el_1.png

I wondered what could be wrong as I got wired results on some images and I think
I finally got it. If you will look at the the code of reverted version:
http://upload.wikimedia.org/wikipedia/test/archive/0/01/20060905024122%21Test_inlinestyle_to_style_el_1.svg

You will notice that when I removed the dot from "stroke-width:0.1px" and
changed it to "stroke-width:2px" it got parsed fine (of course with a width of 2px).

For final test case you may see that when I moved "stroke-width:0.1px" to
inline-style def. it's all fine:
http://test.wikipedia.org/wiki/Image:Test_inlinestyle_to_style_el_2.svg

Hope this will be fixed soon.


Version: unspecified
Severity: major

Details

Reference
bz7238

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:23 PM
bzimport set Reference to bz7238.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 5428 ***