W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css2.1][css3-fonts] keywords in unquoted font family names

From: Gérard Talbot <www-style@gtalbot.org>
Date: Thu, 24 May 2012 19:43:29 -0400
Message-ID: <5af97a4f544a609b167359fb62097b7d.squirrel@ed-sh-cp3.entirelydigital.com>
To: "John Daggett" <jdaggett@mozilla.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style list" <www-style@w3.org>

Le Mer 23 mai 2012 21:13, John Daggett a écrit :

[snipped]

> (...) 'foo inherit' and 'inherit foo' are valid
> unquoted font family names.  Only font lists containing 'foo, inherit'
> and 'inherit, foo' would be invalid.


[snipped]


>   /* valid *
>   font-family: foo inherit;
>   font-family: inherit foo;
>   font-family: \inherit foo;
>   font-family: foo \inherit;
>   font: 16px \inherit foo;
>   font: 16px foo \inherit;
>   font: caption;         /* system font */
>   font: medium caption;  /* a font named 'caption' */
>
>   /* invalid */
>   font-family: foo, inherit;
>   font-family: inherit, foo;
>   font: caption foo;
>   font: caption, foo;
>   font: medium caption, inherit;
>   font-family: --blah de blah, foo; /* double-hyphen ==> not permitted
> identifier format */
>   font-family: 'blah' de blah, foo;



Tab and John,

I will submit

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-family-rule-004a.xht

and

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-52.xht

in a few days unless I hear feedback, objections against this from one of
you.

--------------

I have renamed the previous test as

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/CSS3-font-family-rule-004a.xht

in case we need it later.


Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Thursday, 24 May 2012 23:44:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT