[EMAIL PROTECTED] wrote:
if this is a scalable vector graphic, then why doesn't firefox scale it?
Because even though it is a vector an SVG gets to say what resolution it
should be rendered at. In this case your svg file is requesting a
specific width of "900px" and height of "900px" (see the root SVG element).
SVGs can choose to not specify width/height so that they will be resized
(as you want) and they can also choose whether they should be skewed
when the resized ratio of width:height doesn't match the original
image's width:height ratio.
In your case I think it's your SVG file at fault, not Firefox. When
fixing your SVG one technique I've found useful is to edit while
refreshing in Firefox. Once you get the width/height constraints removed
it should resize as you resize your browser window... good debugging
feedback :)
The feature of obeying the SVG's requested width/height is that it
allows SVG equivalents of image sprites
<http://www.alistapart.com/articles/sprites>, and that it follows the
established rules of CSS width/height being a way of controlling CSS
Overflow rather than the size of the embedded content.
opera 9.01 is the only browser to render the page properly. in my
book, that doesn't speak very highly of the beloved firefox. maybe,
just maybe, opera has taken over as "the" standards compliant browser.
what we do is not rocket science. firefox claims to be the standard
in standards compliant browsers, yet it can't get what's coming in the
future of graphics correct. i know they are still working on firefox
to render svg natively, but opera has beaten them to the punch and far
surpassed them in setting a much higher standards compliance.
oh well, i understand that a lot of catch up has to be done by the
browser industry. it's just frustrating at the moment. i must be
patient and continue my work and research, but i want it NOW! ;^)
What Firefox is doing is the correct thing, so IMO you're blaming the
wrong people.
.Matthew Cruickshank
http://docvert.org << MSWord to Open Standards
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************