W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2011

Re: [RC5, pre-RC6] font-family-024 : its reftest and text assertion

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 24 Feb 2011 16:35:24 -0800 (PST)
To: css21testsuite@gtalbot.org
Cc: Public CSS test suite mailing list <public-css-testsuite@w3.org>, "L. David Baron" <dbaron@dbaron.org>
Message-ID: <819516033.433555.1298594124815.JavaMail.root@cm-mail03.mozilla.org>
Hi GĂ©rard,

> 1-
> <meta name="assert" content="System font names are only allowed with the
> font shorthand, not in font-family rules">
> 
> but after the clarification talks we had in the thread
> 
> font-051/052/053/054/055/056 invalid (system font keywords are ok font
> families)
> http://lists.w3.org/Archives/Public/public-css-testsuite/2010Oct/0171.html
> 
> that is not true
> 
> 2-
> The reftest for
> font-family-name-024
> is also wrong.

This isn't quite correct, the other tests were invalid because of
the odd behavior of the productions involved with the 'font'
shorthand.  The testcase font-family-name-024 will only be
invalid for systems containing fonts that match the system font
names.  This is almost never the case.  So I think it would make
sense to simply revise the test to include that the test is only
valid on systems where this is true.  We can include on the test
page a fontlist containing *quoted* system font names which will
explicitly say PASS/FAIL concerning this condition.

System contains no fonts with names that match system font names: PASS

Does that sound like it makes sense?

Cheers,

John Daggett
Received on Friday, 25 February 2011 01:13:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 February 2011 01:13:35 GMT