- From: Yuzo Fujishima <yuzo@google.com>
- Date: Wed, 24 Feb 2010 11:20:03 +0900
- To: www-style@w3.org
Hi,
http://dev.w3.org/csswg/css3-page/#syntax-page-selector says:
margin_box
margin_sym S* '{' ruleset* '}' S*
;
but this is inconsistent with Example VIII:
http://dev.w3.org/csswg/css3-page/#cascading-and-page-context
@page :first {
color: green;
@top-left {
content: "foo";
color: blue;
...
because 'content: "foo"; ...' doesn't qualify as ruleset:
http://www.w3.org/TR/CSS2/grammar.html
ruleset
: selector [ ',' S* selector ]*
'{' S* declaration? [ ';' S* declaration? ]* '}' S*
;
Should margin_box be corrected as follows?
margin_box
margin_sym S* '{' S* declaration? [ ';' S* declaration? ]* '}' S*
;
(Or should the example be corrected instead?)
Yuzo
Received on Wednesday, 24 February 2010 02:20:53 UTC