[css3-page] Error in grammar of section 3.4.1

Hello,

There is a problem with the following part of the "page" production:

'{' S* [ declaration | margin ]? [ ';' S* [ declaration | margin ]? ]* '}'

It can't parse two consecutive "margin" elements, for example, because with this production they must be separated by a semi-colon. This is not what the rest of the draft suggests. The production should be something like this:

'{' S* [ [ declaration [ ';' S* declaration ]* ] | margin ]* '}'

Best regards,

Werner.
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.

Received on Thursday, 19 April 2012 13:12:02 UTC