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>
Hello,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/abspos-011.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/abspos-011.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/abspos-012.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/abspos-012.htm


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.

So,

   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; }


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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Wednesday, 12 September 2012 01:09:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 September 2012 01:09:11 GMT