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
  "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:

The "left" version is ok.



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

Best regards,

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:19 UTC