Space after semicolon in blocks not allowed by core grammar (CSS2 error)

The core grammar described in CSS2 (at
<http://www.w3.org/TR/REC-CSS2-19980512/syndata.html#tokenization>)
prohibits space after a semicolon in any block that is not a declaration
block.  Consider the following production from the core grammar.

block : '{' S* [ any | block | ATKEYWORD S* | ';' ]* '}' S*;

Since 'any' must include something other than space, there is no way to do
the following, for example.

@font-face { font-family: "Everson Mono"; font-weight: normal; }

Let us amend the 'block' production as follows.

block : '{' S* [ any | block | ATKEYWORD S* | ';' S* ]* '}' S*;

--
Etan Wexler <mailto:ewexler@stickdog.com>

Received on Wednesday, 6 November 2002 18:52:32 UTC