Skip to content

Commit 5fd276c

Browse files
committed
1 parent 3bf865b commit 5fd276c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css3-page/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ <h3 id=syntax-page-selector><span class=secno>5.3. </span>@page rule
856856
<a
857857
href="#page" id=syntax-prod-page>page</a> :
858858
PAGE_SYM S* IDENT? S* pseudo_page? S*
859-
'{' S* [ [ declaration ';' S* ] | margin ]* [ declaration ]? '}' S*
859+
'{' S* [ [ declaration ';' S* ] | margin_box ]* [ declaration ]? '}' S*
860860
;
861861
<span
862862
class=issue>Space should not be allowed between name and pseudo.</span>
@@ -867,7 +867,7 @@ <h3 id=syntax-page-selector><span class=secno>5.3. </span>@page rule
867867

868868
<span
869869
id=syntax-prod-margin>margin_box</span> :
870-
margin_sym S* '{' ruleset* '}' S*
870+
margin_sym S* '{' declaration? [ ';' S* declaration? ]* '}' S*
871871
;
872872

873873
<span

css3-page/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,15 +563,15 @@ <h3 id="syntax-page-selector">@page rule grammar</h3>
563563

564564
<span id="syntax-prod-page">page</span> :
565565
PAGE_SYM S* IDENT? S* pseudo_page? S*
566-
'{' S* [ [ declaration ';' S* ] | margin ]* [ declaration ]? '}' S*
566+
'{' S* [ [ declaration ';' S* ] | margin_box ]* [ declaration ]? '}' S*
567567
;
568568
<span class="issue">Space should not be allowed between name and pseudo.</span>
569569
<span id="syntax-prod-pseudo-page">pseudo_page</span> :
570570
':' [ "left" | "right" | "first" ]
571571
;
572572

573573
<span id="syntax-prod-margin">margin_box</span> :
574-
margin_sym S* '{' ruleset* '}' S*
574+
margin_sym S* '{' declaration? [ ';' S* declaration? ]* '}' S*
575575
;
576576

577577
<span id="syntax-prod-margin-sym">margin_sym</span> :

0 commit comments

Comments
 (0)