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

Re: [RC6] font-family-name-023

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 17 Mar 2012 03:37:27 -0400
Message-ID: <48530a89b46c16b9f9927327e39167a9.squirrel@ed-sh-cp3.entirelydigital.com>
To: "John Daggett" <jdaggett@mozilla.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Le Sam 17 mars 2012 3:17, John Daggett a écrit :
> Gérard Talbot wrote:
>> The reftest for font-family-name-023 does not use the font-family
>> "x-large CSSTest FamilyName Funky" but rather "CSSTest FamilyName".
> Huh?
> These are the property definitions used in that test:
>   p#test1a {
>       font-family: "small-caps 1in CSSTest FamilyName Funky", CSSTest
> Fallback;
>   }
>   p#test2 {
>       font-family: x-large CSSTest FamilyName Funky, CSSTest Fallback;
>   }
>   p#test2a {
>       font-family: "x-large CSSTest FamilyName Funky", CSSTest Fallback;
>   }
>   p#test3a {
>       font-family: "12px CSSTest FamilyName Funky", CSSTest Fallback;
>   }
> The font named "CSSTest FamilyName" is *not* used for this test!!!


I understand that the font named "CSSTest FamilyName" is *not* used for
this test. Albeit 4 hours ago, I did not.

> Remember, those are 'font-family' definitions *not* 'font' definitions.

I understand.

> John

The *reftest* for font-family-023 uses "CSSTest FamilyName" for the 4
tests. Doing so (choosing that precise font family name) certainly can
lead to misinterpretation of what the test is doing or trying to

This sentence "Font family names that appear similar to font shorthand
should match to fonts with those names" is rather vague and open to
interpretation ..

Proposal for the *reftest*

        <style type="text/css">
            body { font-size: 36px; }
            span#verify { font-family: CSSTest Verify; }

            p#test1a {
                font-family: "small-caps 1in CSSTest FamilyName Funky";
            p#test2, p#test2a {
                font-family: "x-large CSSTest FamilyName Funky";

            p#test3a {
                font-family: "12px CSSTest FamilyName Funky";
        <div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test
fonts</a> must be installed for this test: <span
        <p id="test1a">PaSs</p>
        <p id="test2">PaSs</p>
        <p id="test2a">PaSs</p>
        <p id="test3a">PaSs</p>

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 Saturday, 17 March 2012 07:37:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 17 March 2012 07:38:08 GMT