W3C home > Mailing lists > Public > www-style@w3.org > April 2011

[css3-fonts] Value syntax of src descriptor is wrong

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 05 Apr 2011 17:37:38 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.vtg1o0d5bunlto@oyvinds-desktop>
The "Value" line in section 4.3 is wrong.

1. The format hint is not marked as optional.
2. In a list of fonts, comma separators are only required/allowed before  
<uri>.

Both of these are contradicted by the prose further down and are  
interoperably not implemented. I suggest that

[ <uri> [format(<string> [, <string>]*)] | <font-face-name> ] [, <uri>  
[format(<string> [, <string>]*)] | <font-face-name> ]*

be replaced by

[ <uri> [format(<string> [, <string>]*)]? | <font-face-name> ] [, [<uri>  
[format(<string> [, <string>]*)]? | <font-face-name> ]]*

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 5 April 2011 15:38:13 GMT

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