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

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.

~TJ

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