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:02:13 -0400
Message-ID: <83ead5e7d2821c05ab5a0bd0efe37af5.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 2:34, John Daggett a écrit :
> Gérard Talbot wrote:
>>  <meta name="assert" content="Font family names that appear similar to
>> font shorthand should match to fonts with those names" />
>> {font-family: x-large CSSTest FamilyName Funky, CSSTest Fallback;}
>> should match the font face "CSSTest FamilyName" and not "CSSTest
>> Fallback".
>> Where do you read this from CSS 2.1, section 15.3? Just asking..
>> I have never heard of such thing before.
> Hmmm, no it should match the font named "x-large CSSTest FamilyName
> Funky" (csstest-familyname-funkyB.ttf), not "CSSTest FamilyName" or
> "CSSTest Fallback".
> Those are all valid font family names which match names in the
> underlying test fonts. This test is merely trying to trip up
> implementations that are not careful about how code is shared between
> the font shorthand and the font-family property.


The reftest for font-family-name-023 does not use the font-family
"x-large CSSTest FamilyName Funky" but rather "CSSTest FamilyName".

If it's the same font but with a different name, then it certainly is
confusing: after reading the assert text and then examining the reftest,
it sorta misleads.

Choosing the font-family "CSSTest FamilyName" for the reftest can easily
lead to misinterpretation of the test.



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:02:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:24 UTC