[Cialug] Firefox: SVG Support?

Colin Burnett cmlburnett at gmail.com
Thu Jan 1 14:45:59 CST 2009


On Thu, Jan 1, 2009 at 1:54 PM, Todd Walton <tdwalton at gmail.com> wrote:
> I'm using Firefox 3.0.5 and SVGs are not rendering properly.  I loaded
> Wikipedia's DOM page, and no diagram!

The only time you get an actual SVG under MediaWiki is when you're
viewing the file directly.


The image on http://en.wikipedia.org/wiki/Document_Object_Model is a PNG.
The actual image url is
http://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/JKDOM.SVG/300px-JKDOM.SVG.png.

The image on http://en.wikipedia.org/wiki/File:JKDOM.SVG is a PNG.
The actual image url is
http://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/JKDOM.SVG/450px-JKDOM.SVG.png.

The image on http://upload.wikimedia.org/wikipedia/commons/e/e4/JKDOM.SVG
is SVG and you're viewing (and rendering) the file directly.


MediaWiki renders the SVG to a PNG because SVG support is not
universal nor is the actual SVG-rendering universal.  There are
numerous times when I see differences (namely in text) between an SVG
firefox renders and the PNG rendered by MediaWiki.


As for why your first two screenshots don't show an image...who knows.
 MediaWiki can be flaky.  Best suggestion I got is to clear you cache
and restart firefox. :/  Regardless, the issue at hand has nothing to
do with SVG support in firefox.


Colin


More information about the Cialug mailing list