Re: abspos-004 has incorrect pass condition ; abspos-003 too

> I'd marked abspos-004 as failing because the boxes weren't quite
> even with the top/bottom of the viewport.  (Remember, in my system
> for scoring images, I didn't actually have the source of the test to
> look at while I was scoring, since I was scoring all occurrences of
> an image at once.)
>
> After looking at the test, the behavior looks correct to me, since
> the boxes in question are p elements, which have a default 1em top
> and bottom margin in the UA style sheet.
>
> (I actually initially thought that we had a bug where we were
> accounting for a horizontal scrollbar that wasn't actually present.)
>
> I think either the pass condition should be clearer that there is a
> 1em margin, the margin should be removed, or perhaps even both.


David,

I think the <p> should be replaced by <div>.

Also, it is very natural and expectable to score that test as a fail
because, if you run the test sequentially like I did, then you get to
see the problem: there is no bottom gap for the blue-bordered bottom
rectangle in
http://test.csswg.org/suites/css2.1/20101001/html4/abspos-003.htm
so, you have then to conclude that
http://test.csswg.org/suites/css2.1/20101001/html4/abspos-004.htm
must be a fail if abspos-003 was a pass. Both tests are not entirely
coherent.

So, abspos-003 and abspos-004 should be both upgraded in the same
manner, preferably with <div>s only for yellow and blue boxes.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Thursday, 14 October 2010 02:05:57 UTC