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

Re: [css3-page] Error in grammar of section 3.4.1

From: Werner Donné <werner.donne@pincette.biz>
Date: Thu, 19 Apr 2012 17:28:05 +0200
To: www-style@w3.org
Message-Id: <11F8D683-5020-4B38-9312-550C381C5EFA@pincette.biz>
> > The production
> > should be something like this:
> >
> > '{' S* [ [ declaration [ ';' S* declaration ]* ] | margin ]* '}'

> But this new grammar allows consecutive declarations without a ';'

You are right.

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

So, a declaration without a semi-colon followed by a margin box is not allowed. Is that correct?

Werner.
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.
Received on Thursday, 19 April 2012 15:28:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT