W3C home > Mailing lists > Public > www-svg@w3.org > August 2012

Re: Clarification on getBBox() with shapes of zero width

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 7 Aug 2012 15:52:09 -0700
Message-ID: <CAAWBYDAdV-G8o=NyaWJF5nJPnj6zNjpWd1g5kzAq6zK8j_=QyA@mail.gmail.com>
To: Philip Rogers <pdr@google.com>
Cc: Dirk Schulze <dschulze@adobe.com>, Rick <graham.rick@gmail.com>, Robert Longson <longsonr@gmail.com>, "www-svg@w3.org" <www-svg@w3.org>
On Tue, Aug 7, 2012 at 3:46 PM, Philip Rogers <pdr@google.com> wrote:
> As an implementer, returning the correct values for width=0 in WebKit will
> not be too hard and will be easiest to understand for users.
> The display:none case will require working around a well-known optimization
> in SVG in IE/Firefox/Chrome where a render tree is not created for
> display:none nodes, so I would like to argue we should return a rect of size
> (0,0) in that case. This attribute is already not animatable so I do not
> think it will be surprising.

That makes sense to me.

Received on Tuesday, 7 August 2012 22:52:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:29 UTC