W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 13 Oct 2010 19:05:17 -0700
Message-ID: <978e858c3833dd611dba302cf4f863f9.squirrel@cp3.shieldhost.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 02:06:08 GMT