W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2012

[RC6] abspos-011 and 012: some modifications

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 11 Sep 2012 21:08:38 -0400
Message-ID: <ba87fea0d044934ab41f752488adac51.squirrel@ed-sh-cp3.entirelydigital.com>
To: "fantasai" <fantasai.lists@inkedblade.net>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>





I've made some changes in those 2 tests mainly so that I could be able
to make an accurate and reliable reftest.

1- font-size

font: bold 2em monospace;
has been replaced with
font: bold 32px/1 monospace;
in both tests. The default font-size for monospace font in user agent
stylesheet varies and it is usually not 16px but rather 10pt or 13px. To
ease the task of testers, I've set to 32px.

2- line-height

Line box height has been specified and does not rely on font used or
browser default.

3- width and height

Finally, I have remove height and width defined in abspos-012
since they were unneeded, unnecessary and extraneous declarations inside
the test goal.


   div { position: relative; height: 10em; }
   p { position: absolute; height: 4em; width: 10em; font: bold 32px/1
monospace; }

has been replaced with

   div { position: relative; }
   p { position: absolute; font: bold 32px/1 monospace; }

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Wednesday, 12 September 2012 01:09:06 UTC

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