- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 26 Mar 2011 20:00:50 -0700
- To: "fantasai" <fantasai.lists@inkedblade.net>, "Arron Eicholz" <Arron.Eicholz@microsoft.com>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello, http://test.csswg.org/suites/css2.1/20110323/html4/font-family-valid-characters-001.htm 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 test... 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: http://www.w3.org/TR/CSS21/fonts.html#font-family-prop http://www.w3.org/Style/css2-updates/draft-PR-CSS21-201103XX/fonts.html#font-family-prop So, Ahem font should not be fetched either. Fourth, when I validate the 9 rules in a stylesheet http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-family-valid-characters-001.css the CSS validator reports no parsing error: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.gtalbot.org%2FBrowserBugsSection%2Fcss21testsuite%2Ffont-family-valid-characters-001.css&profile=css21&usermedium=all&warning=2&lang=en regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 Test suite RC6, March 23rd 2011 http://test.csswg.org/suites/css2.1/20110323/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Sunday, 27 March 2011 03:01:30 UTC