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

Test suite assumption on font-size: monospace font and for print

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 20 Sep 2012 23:07:28 -0400
Message-ID: <f1cf9aec8f0aaeac702bb2c0c314a32a.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Some tests may not be passed only because some browsers have different
default font-size for monospace font and for printing.

Eg. The default font-size for monospace in Firefox is 13px; it's not
16px. I believe IE8 and IE9 also applies such font-size value for
monospace font (10pt according to http://www.iecss.com/ ).

Eg. The default font-size for printing in Opera 12.02 is 9pt or so. I do
not know where this is settable and verifiable in Opera and in other
browsers as well.

I strongly believe that


would have been reported as a pass and not a fail in Opera if font-size
had been explicitly set to 14pt or so.
As far as I can see, position-fixed-005 test is passed in Opera 12.02
when more accurate calculation for top offset and font-size for printing
are done.


"The 'medium' font-size computes to 16px."

To add:

"The 'medium' font-size computes to 16px for monospace font."

"The 'medium' font-size computes to 12pt for printing."

or something similar.

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 Friday, 21 September 2012 03:07:51 UTC

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