W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2010

Re: Mozilla small-caps test

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 1 Jul 2010 18:01:07 -0700 (PDT)
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Robert O'Callahan <robert@ocallahan.org>, public-css-testsuite@w3.org
Message-ID: <1823041966.602212.1278032467622.JavaMail.root@cm-mail03.mozilla.org>
fantasai wrote:

> John Daggett can correct me if I'm wrong, but I believe the
> small-caps test submitted by Mozilla
>    http://test.csswg.org/source/contributors/mozilla/incoming/reftests/text-transform/
>    http://mxr.mozilla.org/mozilla-central/source/layout/reftests/text-transform/
> is invalid. It assumes that a small-caps lower-case "a" has
> the same rendering as a capital "A" at 80% of the font size.
> This assertion is both unsupported by the specification (nowhere
> does it require 80% scaling) and, if I understand correctly,
> a completely wrong test for fonts that have true small caps.

Yeah, requiring 80% is not valid.

One thing to note is that it's important to select a lowercase letter
whose uppercase form is different (e.g. 'a', 'e', etc.). Some of the
MS tests use 'x' which is a poor choice.

Received on Friday, 2 July 2010 01:01:41 UTC

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