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

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

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:18 UTC