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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 6 Aug 2012 19:48:07 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Philip Rogers <pdr@google.com>, "www-svg@w3.org list" <www-svg@w3.org>, Robert Longson <longsonr@gmail.com>
Message-ID: <11E147E4-1134-499A-BB36-E604B046A9DE@adobe.com>

On Aug 6, 2012, at 5:03 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Mon, Aug 6, 2012 at 4:55 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> On Aug 6, 2012, at 2:55 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>>> Yes, (0, 100) should be the correct answer.  It would be great if we
>>> could change to align with IE and Opera here, so that answer has a
>>> majority and FF can change.
>> Well, it depends on the interpretation of ""A negative value is an error. A value of zero disables rendering of the
>> element". Actually it says it should not be rendered. So no renderer is created, like for display: none? I would interpret it as not rendering, no renderer, no bounding box. So FF and Webkit behavior sound reasonable before.
>> We had bug reports for that on WebKit before and discussed it with people from Mozilla and they had the same understanding.
> On the other hand, the spec states that the answer should be
> independent of whether the element has been rendered yet or not.  It's
> much more useful, I think, if the element doesn't have a discontinuity
> here.
The same would apply for display:none then.


> ~TJ
Received on Tuesday, 7 August 2012 02:48:35 UTC

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