Tokenization issues

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:

<blockquote>
<family-name>
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.
</blockquote>

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