- From: Nicholas Zakas <nzakas@yahoo-inc.com>
- Date: Tue, 11 Jan 2011 12:09:51 -0800
- To: "www-style@w3.org" <www-style@w3.org>
Received on Tuesday, 11 January 2011 20:10:49 UTC
Hi all,
I know this was flagged a while back, but here it is again for reference. This piece of the grammar for CSS3 Paged Media is incorrect:
page:
PAGE_SYM S* IDENT? pseudo_page? S*
'{' S* [ declaration | margin ]? [ ';' S* [ declaration | margin ]? ]* '}' S*
;
This specifies that there should be a semicolon after each margin production, meaning that the following is invalid:
@page :first {
color: green;
@top-left {
content: "foo";
color: blue;
}
@top-right {
content: "bar";
}
}
According to the grammar, there should be a semicolon prior to "@top-right", which clearly is incorrect given the rest of the spec.
-Nicholas
______________________________________________
Commander Lock: "Dammit Morpheus, not everyone believes what you believe!"
Morpheus: "My beliefs do not require them to."
Received on Tuesday, 11 January 2011 20:10:49 UTC