W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 13 Oct 2010 20:39:27 -0400
Message-ID: <4CB6513F.8090506@mit.edu>
To: "L. David Baron" <dbaron@dbaron.org>
CC: public-css-testsuite@w3.org
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).

> Nonetheless, given the size of the svg element, the blue box should
> begin either in the upper *left* corner of the black box, or
> actually slightly to the left of that.

Yes, agreed (this is the rendering Gecko and Presto have, for what it's 
worth; Webkit seems to not show the blue rectangle there at all).

-Boris
Received on Thursday, 14 October 2010 00:40:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 00:40:26 GMT