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

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 UTC