W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: alternate font properties

From: Liam Quinn <liam@htmlhelp.com>
Date: Tue, 29 Jul 1997 19:27:42 -0400
Message-Id: <3.0.2.32.19970729192742.0097a400@undergrad.math.uwaterloo.ca>
To: www-style@w3.org
-----BEGIN PGP SIGNED MESSAGE-----

At 03:32 PM 29/07/97 -0700, David Perrell wrote:
>
>How is the problem of missing quotes exacerbated by the relative
>position of the commas? Is
>
>  H2 { bold Palatino, serif }
>
>any less ambiguous?

Um, without a property name, no :)

>The size declaration is optional

No, it's not.  There is no ? after <font-size> at 
<http://www.w3.org/pub/WWW/TR/REC-CSS1#font>.

>so in the font
>shorthand/property, missing quotes is a firm no-no.

It's better form to use quotes, but browsers should be able to handle it 
otherwise, assuming that the font-size is properly given.  The spec says 
that "Font names containing whitespace should be quoted" [1], but it 
doesn't say that they must be.

[1] http://www.w3.org/pub/WWW/TR/REC-CSS1#font-family

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBM958bQ/JhtXygIx1AQHAVAL/elpQDk5AnkGK+Gkyqj/dg7IMLl6mbwgc
n60frfrFdukzksh8j1tdXAo/gM+AoFHzK4CHX8CwjAh7tnnOT0yY/TQex/qchGo8
kAw+HOhGcnlEL3dgBzkQLsz9iPanvmPE
=NU4W
-----END PGP SIGNATURE-----

Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/
======  PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html  =====
Received on Tuesday, 29 July 1997 19:27:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:50 GMT