- From: Daniel Holbert <dholbert@mozilla.com>
- Date: Fri, 11 Feb 2011 22:56:27 -0800
- To: www-svg <www-svg@w3.org>
- CC: Patrick Dengler <patd@microsoft.com>, "robert@ocallahan.org" <robert@ocallahan.org>, Tony Schreiner <tonyschr@microsoft.com>, Jonathan Watt <jwatt@jwatt.org>
Just to provide some insight into the decision on the Mozilla end -- we'd been going back and forth a bit too, but what finally convinced us (or at least me) that it'd be best to do something Opera-like was a combination of the following: (a) By default, authoring tools (at least Inkscape) produce SVG images with no viewBox (but with non-percent height & width, strongly implying an intended viewBox). So "viewBox missing [but easily inferrable]" will likely be the default state for many SVG images used on the web. (b) Authors will likely assume that these images will auto-scale, based on their experience with raster images, and based on the fact that the images *do* auto-scale in other browsers (all but Firefox 4 beta, up until this past week).[1] (c) Existing content on the web (including an IE HTML5 demo page[2], up until it was changed a day or two ago) *already* depends on SVG images being auto-scaled, based on the aforementioned author assumptions & the precedent that's been set by earlier implementations. (d) There's already an issue[3] on file about possibly addressing this in the spec. So - as Rob said, Mozilla has now changed to roughly match the Opera behavior. The new behavior is in our nightly builds & will be in the next Firefox 4 beta (b12, to be released in a week or two). I agree we should discuss this at the F2F -- thanks for putting that on the agenda, Patrick. ~Daniel [1] To back up this assertion about author expectations - I've received emails from multiple SVG content authors about this (formerly) being "broken" in Firefox. [2] https://bugzilla.mozilla.org/show_bug.cgi?id=630404#c1 [3] http://www.w3.org/Graphics/SVG/WG/track/issues/2258
Received on Saturday, 12 February 2011 06:57:30 UTC