Suspect CSS2.1 test case

This is the test case:

http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/t0905-c414-flt-wrap-01-d-g.htm

I think it's wrong.

The first float (which is 1px x 1px) goes in first, in the top left of
the container.

The second float then goes underneath it, because there isn't room for
it to go alongside it.

Then the text "FAIL" goes in, to the right of the first float. Only 1px
of the div's background is visible above the second float, so most of
the text ends up occupying the same position on the page as the second
float.

But the text should be rendered on top of the float because it has a
higher stacking level (see CSS 2.1 9.9.1-- the float is in level 4 and
the inline box containing the word "FAIL" is in level 5).

Recent releases of Konqueror, Firefox and Opera also all "fail" the test
so I'm not the only one.

Am I missing something here?

-- 
Ben Cotterell
Senior Software Engineer, ANT Software Limited

Received on Thursday, 11 September 2008 16:37:25 UTC