This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
From http://jigsaw.w3.org/css-validator/BUGS.html '' I have just discovered that this CSS rule, with two semicolons, did not generate a warning... h1 { margin-left: 2%; ; } ''
The core grammar given in CSS 2.1 allows successive semicolons (<http://www.w3.org/TR/CSS21/syndata.html#tokenization>): ruleset: selector? '{' S* declaration? [ ';' S* declaration? ]* '}' S*; The same allowance has been in CSS2 (<http://www.w3.org/TR/REC-CSS2/syndata.html#tokenization>) and in CSS1 (<http://www.w3.org/TR/REC-CSS1#appendix-b>). There is no sign that the CSS3 syntax module (<http://www.w3.org/TR/css3-syntax/#style>) will change the allowance.