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

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.

Dirk

> 
> ~TJ

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