Test format guidelines: 2 new guidelines added wrt Ahem font

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 UTC