Re: [css3-fonts] unquoted names in local() (was: Re: [css3-fonts] Minor Comments IV)

Spec revised to use the same processing rules for both unquoted font family names
and unquoted names used in the argument to local() functions within @font-face
rules.

John Daggett

----- Original Message -----
From: "John Daggett" <jdaggett@mozilla.com>
To: www-style@w3.org
Sent: Monday, May 20, 2013 6:29:49 PM
Subject: [css3-fonts] unquoted names in local() (was: Re: [css3-fonts] Minor  Comments IV)


fantasai wrote:

> Also, question: is it treated as a string between the parens (very
> unusual for CSS) or is it treated as a real functional notation
> (whitespace is trimmed)? I think it should be the latter, and that
> the argument should be parsed and handled exactly like a family name
> in font-family (minus the reserved keyword concerns). I think that
> would be less confusing. In which case, the wording describing the
> syntax here should appropriately mirror that of font-family.)

I agree, the name argument of the local() function should follow the
rules used for font-family rules, either a string or an unquoted
sequence of ident's with whitespace collapsed.

Regards,

John Daggett

Received on Thursday, 23 May 2013 06:36:19 UTC