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

About Microsoft test bottom-offset-002.xht and similar ones

From: Bruno Fassino <fassino@gmail.com>
Date: Sun, 28 Feb 2010 08:49:03 +0100
Message-ID: <da98bce01002272349y6ec17397mb6b6257a576d71df@mail.gmail.com>
To: public-css-testsuite@w3.org
The assert of
  http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/bottom-offset-002.xht
says:
  "The 'bottom' property, for relative positioning, specifies the
offset of the element in relation to the parent's bottom content edge"
but that's not true.  For relatively positioned boxes, the offsets are
with respect to the edges of the box itself.

The same applies to the "right", "top" versions:
  http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/right-offset-002.xht
  http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/top-offset-002.xht

The "left" version is ok.

-------

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/left-offset-003.xht

This is correct. However it seems to want to check the effect of
padding on the containing block, but the defined padding is the right
one, and the positioning is done with left, so the test does not look
much "selective". The other versions (left, right, bottom) are more
"consistent".



Best regards,
Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
Received on Sunday, 28 February 2010 07:49:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:01 GMT