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

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.  (I'd have expected it to be 300x150 as a result, but
our implementation seems to be shrinking it so it fits within the
container.  I'm not sure if I'm missing something in the spec or if
that's a bug in our implementation, though.  If nobody else is
confident about the rules, I could try to figure out why we're doing
what we're doing.)

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.

Additionally, in -018, the margin-left and margin-right aren't
actually set to auto as the test assertion says they should be.

-David

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

Received on Wednesday, 13 October 2010 23:32:30 UTC