- From: Simon Sapin <simon.sapin@kozea.fr>
- Date: Thu, 19 Apr 2012 17:42:29 +0200
- To: Werner Donné <werner.donne@pincette.biz>
- CC: www-style@w3.org
Le 19/04/2012 17:28, Werner Donné a écrit :
>> '{' S* [ [ declaration ';' S* ] | margin ]* [ declaration ]? '}'
> So, a declaration without a semi-colon followed by a margin box is not allowed. Is that correct?
If I read the core grammar[1] correctly, at-keywords and blocks are 
allowed in properties values, so that would result in a big declaration 
(with a value that is probably invalid for any property.)
[1] http://www.w3.org/TR/CSS21/syndata.html#tokenization
I can not find this written anywhere, but my understanding was that 
declarations continued until a semi-colon or the end of a block. (Unless 
these are inside nested {} () or [] pairs.)
Regards,
-- 
Simon Sapin
Received on Thursday, 19 April 2012 15:43:00 UTC