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

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

From: John Daggett <jdaggett@mozilla.com>
Date: Wed, 22 May 2013 23:35:53 -0700 (PDT)
To: www-style@w3.org
Message-ID: <355814464.17318683.1369290953741.JavaMail.root@mozilla.com>

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

This archive was generated by hypermail 2.3.1 : Thursday, 23 May 2013 06:36:20 UTC