Re: absolute-replaced-width-016/017/018 incorrect

On Wednesday 2010-10-13 20:39 -0400, Boris Zbarsky wrote:
> On 10/13/10 7:32 PM, L. David Baron wrote:
> >The tests:
> >http://test.csswg.org/suites/css2.1/20100917/xhtml1/absolute-replaced-width-016.xht
> >http://test.csswg.org/suites/css2.1/20100917/xhtml1/absolute-replaced-width-017.xht
> >http://test.csswg.org/suites/css2.1/20100917/xhtml1/absolute-replaced-width-018.xht
> >appear to me to be incorrect.
> >
> >The svg element in these tests has no intrinsic ratio and no
> >intrinsic size, since it has no viewBox and no height/width
> >attributes.
> 
> SVG defaults the width/height attributes to 100% if they're not
> specified.  So the sizing there looks correct (and is interoperable
> at least with Webkit and Presto).

Right; I had the feeling I was forgetting something.

So the Gecko behavior on this test is correct.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 14 October 2010 01:05:47 UTC