W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

font-051/052/053/054/055/056 invalid (system font keywords are ok font families)

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 15 Oct 2010 13:42:29 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101015204229.GA7621@pickering.dbaron.org>
These tests:
http://test.csswg.org/suites/css2.1/20101001/html4/font-051.htm
http://test.csswg.org/suites/css2.1/20101001/html4/font-052.htm
http://test.csswg.org/suites/css2.1/20101001/html4/font-053.htm
http://test.csswg.org/suites/css2.1/20101001/html4/font-054.htm
http://test.csswg.org/suites/css2.1/20101001/html4/font-055.htm
http://test.csswg.org/suites/css2.1/20101001/html4/font-056.htm
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-051.xht
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-052.xht
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-053.xht
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-054.xht
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-055.xht
http://test.csswg.org/suites/css2.1/20101001/xhtml1/font-056.xht
are invalid because the system font keywords are perfectly good
family names.  The declaration:
  font: 32px caption;
is equivalent to:
  font: initial;
  font-size: 32px;
  font-family: caption;
and is perfectly valid.  The 'caption' in this case is NOT a system
font keyword, but it's perfectly legal.

These tests should be reversed to test that the declaration is
allowed.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 15 October 2010 20:43:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:15 UTC