W3C home > Mailing lists > Public > www-style@w3.org > May 1996

Re: ';' in declaration lists

From: Bert Bos <Bert.Bos@sophia.inria.fr>
Date: Thu, 2 May 1996 13:25:21 +0200
Message-Id: <199605021125.NAA23702@mygale.inria.fr>
To: rieger@bse.de (Wolfgang Rieger)
Cc: www-style@w3.org
Wolfgang Rieger writes:

 > I think therefore, that semicolon should be used as a terminator and
 > the grammar should be changed accordingly.

Actually, both are already allowed. (I'm a Pascal programmer myself,
forced to write C, so I know the problem:-) ). If you look at the
grammar, you'll see that a `declaration' can be empty, so that, e.g.,

    P { ; font-size: 10pt;;; }

contains 5 declarations, 4 of which are empty.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/pub/WWW/People/Bos/                      INRIA/W3C
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 93 65 77 71                 06902 Sophia Antipolis Cedex, France
Received on Thursday, 2 May 1996 07:25:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:44 GMT