[RC4] containing-block-001 not testing what it should

Hello,

<http://test.csswg.org/suites/css2.1/20101210/html4/containing-block-001.htm>


This test case is not testing what it should. All browsers that I can 
test currently pass this test. The assert has,

   "If the element's position is 'relative', the containing block is 
formed by
    the content edge of the nearest block-level ancestor box."


For this to be true, the test needs a grandchild descendant. I propose 
this test as a replacement.

<http://css-class.com/test/css21testsuite/containing-block-001.htm>


Safari 5 fails this test.


After examining a few of the containing block test, I find many are 
testing or not testing what they should. The are 24 in total.

I plan to help Arron with these test since I believe that additional 
conditions should be tested, thus why I start at the beginning with 
containing-block-001.


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo

Received on Thursday, 13 January 2011 12:34:00 UTC