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

[RC6] font-family-valid-characters-001 is not clear

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 26 Mar 2011 20:00:50 -0700
Message-ID: <99a3bdcde9c5bb49d38ae8e40202fe32.squirrel@cp3.shieldhost.com>
To: "fantasai" <fantasai.lists@inkedblade.net>, "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>


looks incorrect to me.

Currently, all the browsers (IE8, Firefox 4, Firefox 3.6.16, Opera
11.01, Safari 5.0.4, Chrome 10.0.648.204, Konqueror 4.6.1) pass this

First, they all put the testfoo names
{test-foo, test_foo, test\foo, test, foo, _testfoo, -testfoo, test -foo,
test _foo, etc.}
between quotes, then try to fetch the font and since there is no font
installed with such name, then move to use the alternate one Ahem.

Second, some font names are perfectly correct and acceptable to begin
with: _testfoo, test\foo, test, foo and even test-foo are not invalid
and not reported as invalid by the CSS validator. In fact, none of the 9
declarations are reported as invalid.

Third, if the names are supposed to be invalid, then the whole
declaration should be invalid. That's what the spec is saying:



So, Ahem font should not be fetched either.

Fourth, when I validate the 9 rules in a stylesheet
the CSS validator reports no parsing error:


regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011

CSS 2.1 test suite contributors:
Received on Sunday, 27 March 2011 03:01:30 UTC

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