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.


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
so, you have then to conclude that
must be a fail if abspos-003 was a pass. Both tests are not entirely

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:

CSS 2.1 test suite (RC2; October 1st 2010):

CSS 2.1 test suite contributors:
Received on Thursday, 14 October 2010 02:05:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC