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

Tokenization issues

From: Matthew Brealey <webmaster@richinstyle.com>
Date: Mon, 03 Apr 2000 12:46:08 -0700
Message-ID: <38E8F500.1BA3@richinstyle.com>
To: www-style@w3.org
There is an omission from the font-family specification. Take the
popular font 'Monotype.com'. Font-family: Monotype.com is prima facie
valid, since all CSS states is:

The name of a font family of choice. In the previous example,
"Baskerville", "Heisi Mincho W3", and "Symbol" are font families. Font
family names containing whitespace should be quoted. If quoting is
omitted, any whitespace characters before and after the font name are
ignored and any sequence of whitespace characters inside the font name
is converted to a single space.

There is nothing else on quoting, but there should be, since that
declaration would be parsed as IDENT DELIM S IDENT DELIM IDENT; i.e., as
font-family: Monotype DELIM IDENT.

(Similarly there isn't any statement on counter functions.)

Also the second code example there has:

  BODY { font-family: "new century schoolbook", serif }

Should not that be "New Century Schoolbook"?

Please visit http://RichInStyle.com. Featuring:
MySite: customizable styles.         AlwaysWork style 
Browser bug table covering all CSS2 with links to descriptions.
Lists of > 1000 browser bugs         Websafe Colorizer 
CSS2, CSS1 and HTML4 tutorials.      CSS masterclass 
CSS2 test suite: 5000++ tests and 300+ test pages.
Received on Monday, 3 April 2000 07:42:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC