== should format at rule page == @page{} @page{margin: 1cm} @page :first {margin: 2cm} @page :left {} @page :right {} @page LandscapeTable {} @page CompanyLetterHead:first {} @page toc, index {} @page :blank:first { } @page { @top-left {} @bottom-center {} } @page :first { @bottom-left-corner {} @bottom-right-corner {} } @page :left { @left-middle {}} @page :right{ @right-middle {}} @page :left { @bottom-left-corner {}} @page :right { @bottom-right-corner {}} @page artsy {} @page artsy:left {} @page artsy:first {} @page :first { color: green; @top-left { content: "foo"; color: blue; } @top-right { content: "bar"; } margin: 20px; } [expect] @page {} @page { margin: 1cm; } @page:first { margin: 2cm; } @page:left {} @page:right {} @page LandscapeTable {} @page CompanyLetterHead:first {} @page toc, index {} @page:blank:first {} @page { @top-left {} @bottom-center {} } @page:first { @bottom-left-corner {} @bottom-right-corner {} } @page:left { @left-middle {} } @page:right { @right-middle {} } @page:left { @bottom-left-corner {} } @page:right { @bottom-right-corner {} } @page artsy {} @page artsy:left {} @page artsy:first {} @page:first { color: green; @top-left { content: "foo"; color: blue; } @top-right { content: "bar"; } margin: 20px; }