Inline SVG Rendering comparison revisited – Chrome, Firefox, and Internet Explorer
Monday, May 9, 2011 at 7:13PM
saveenr

In a post over a year ago I compared browser support for inline SVG (by embedding SVG in XHTML) and now that Internet Explorer 9 has arrived, I thought it a good opportunity to revisit how these browsers handle some simple SVG cases.

Here is a link to the file I used: Download XHTML file

Here are the screen captures of how the three browsers rendered them. Click on the thumbnails to get to the original version.

Chrome

image

Firefox

image
Internet Explorer

image
     

 

Version Information

 

Overall, most of the content seemed identical – at least I could not see any difference – but in some cases there are discrepancies that are worth highlighting

 

Example 9 – Text Font and family Size

You can see some slight differences in the smoothness of the edges. Chrome looks the most rough, Firefox, somewhat smoother, and IE the smoothest.

Chrome image
Firefox image
Internet Explorer

image

Note the capital S. At 8x magnification you can see how strongly the edges have been anti-aliased. In Chrome also notice how strongly saturated the colors are at the edges. Firefox and IE are using much less saturated values.

Chrome image
Firefox image
Internet Explorer

image

 

 

Example 10: Text Formatting Weight and Style and Decoration

 

All the browsers seem very consistent. The only notable exception is the underline style is not rendered in Firefox.

Chrome image
Firefox image
Internet Explorer

image

 

Example 16: Gradient Fill - Controlling Transparency at the stops

 

Chrome “does the right thing”. It is surprising to see that Firefox and and IE don’t render this correct.

Chrome image
Firefox image
Internet Explorer

image

 

Example 21: Stroke Line Join - Dashes 1

 

Everyone seems to be doing their own thing with this kind of line style. None of them look particularly good.

Chrome image
Firefox image
Internet Explorer

image

Article originally appeared on viziblr (http://viziblr.com/).
See website for complete article licensing information.