W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3-fonts] @font-face and !important

From: Rune Lillesveen <rune@opera.com>
Date: Wed, 15 Sep 2010 13:38:25 +0200
To: "John Daggett" <jdaggett@mozilla.com>
Cc: www-style@w3.org
Message-ID: <op.vi2nybbj8isf1p@id-c1005.oslo.osa>
On Tue, 14 Sep 2010 18:35:08 +0200, John Daggett <jdaggett@mozilla.com>  
wrote:

>   All font descriptions are specified via a @font-face at-rule. The  
> general form is:
>  @font-face { <font-description> }
>  where the <font-description> has the form:
>  descriptor: value;
>   descriptor: value;
>   [...]
>   descriptor: value;
> This *doesn't* allow !important (or !really-i-mean-it-i-swear).  The
> same is true for the wording in the CSS3 Fonts spec.
>
> Including !important is a syntax error so the descriptor definitions
> in your example should be ignored.

Now fixed for some future version of Opera.

-- 
Rune Lillesveen
Senior Core Developer / Architect
Opera Software ASA
Received on Wednesday, 15 September 2010 11:39:02 GMT

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