File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 > :
You can’t perform that action at this time.
0 commit comments