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

Test format guidelines: 2 new guidelines added wrt Ahem font

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 15 May 2012 12:56:08 -0400
Message-ID: <97daac8c67dad0204d2c464b8442f5d3.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello all,

I have added 2 new guidelines, 2 test requirements with regards to usage
of Ahem font:

"
If the test uses the Ahem font, make sure its computed font-size is a
multiple of 5px, otherwise it may render inconsistently (due to rounding
errors introduced by certain platforms' font APIs). We suggest to use a
minimum computed font-size of 20px.

If the test uses the Ahem font, make sure the line-height on block
elements is specified; avoid 'line-height: normal'. Also, for absolute
reliability, the difference between computed line-height and computed
font-size should be dividable by 2. Eg. Bad: {font-size: 25px;
line-height: 50px;} Eg. Good: {font-size: 25px; line-height: 51px;}
"
http://wiki.csswg.org/test/format#acceptable-test-formats

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 Tuesday, 15 May 2012 16:56:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 May 2012 16:56:51 GMT