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: Wed, 23 May 2012 19:25:33 -0400
Message-ID: <f32670913b83377e8f60bc0fb1fbf8a5.squirrel@ed-sh-cp3.entirelydigital.com>
To: "John Daggett" <jdaggett@mozilla.com>
Cc: "www-style list" <www-style@w3.org>
Le Mer 23 mai 2012 12:47, John Daggett a écrit :

> (...) The original proposals were
> outlined here:
>   http://lists.w3.org/Archives/Public/www-style/2012May/0630.html

> Proposed:
>   Unquoted font family names that happen to be the same as the keyword
>   values 'inherit', 'default' and 'initial' or the generic font
>   keywords ('serif', 'sans-serif', 'monospace', 'fantasy', and
>   'cursive') do not match the '<family-name>' type. These names must
>   be quoted to prevent confusion with the keywords with the same
>   names. Note that 'font-family: Times, inherit' is therefore an
>   invalid declaration, because 'inherit' in that position can neither
>   be a valid keyword nor a valid font family name.

> [1] http://www.w3.org/TR/CSS21/fonts.html#font-family-prop


What about the other changes? Are there other changes? Wasn't there
supposed to be other changes?
Is this the new and approved CSS 2.1 font-family syntax:

font-family value: [ <string> | <ident>+ ]# | inherit

Is this test
still good for CSS 2.1?

Thank you,

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Wednesday, 23 May 2012 23:26:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC