W3C home > Mailing lists > Public > www-svg@w3.org > April 2011

[Bug 12540] Reevaluate handling of invalid viewBox values

From: <bugzilla@jessica.w3.org>
Date: Fri, 22 Apr 2011 17:10:25 +0000
To: www-svg@w3.org
Message-Id: <E1QDJs9-0004wg-L1@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12540

--- Comment #1 from Jonathan Watt <jwatt@jwatt.org> 2011-04-22 17:10:25 UTC ---
One minor thing to consider in any decision is what a width/height of zero
actually means. Imagine an animation of the viewBox width/height to zero -
essentially what you're doing is zooming in on the SVG until you have a
magnification of infinity. Ideally for a SMIL animation like this the viewport
would be filled with the color at the focal point. Failing that though, I don't
see any strong advantage in choosing between options:

 A) disable rendering of the element
 B) act as if the invalid viewBox attribute wasn't present

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 22 April 2011 17:10:27 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:48 GMT