Skip to content

Commit ac38008

Browse files
committed
give @page rule its own subsection
1 parent f0db16f commit ac38008

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

css3-page/Overview.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,16 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
234234
<li><a href="#page-selector-and-context"><span class=secno>5. </span>Page
235235
Selectors and the Page Context</a>
236236
<ul class=toc>
237-
<li><a href="#left-right-first"><span class=secno>5.1 </span>Page
237+
<li><a href="#at-page-rule"><span class=secno>5.1 </span>The @page
238+
Rule</a>
239+
240+
<li><a href="#left-right-first"><span class=secno>5.2 </span>Page
238241
pseudo-classes: :left, :right, and :first</a>
239242

240-
<li><a href="#syntax-page-selector"><span class=secno>5.2 </span>@page
243+
<li><a href="#syntax-page-selector"><span class=secno>5.3 </span>@page
241244
rule grammar</a>
242245

243-
<li><a href="#cascading-and-page-context"><span class=secno>5.3
246+
<li><a href="#cascading-and-page-context"><span class=secno>5.4
244247
</span>Cascading in the page context</a>
245248
</ul>
246249

@@ -711,6 +714,8 @@ <h3 id=progression><span class=secno>4.3 </span>Page Progression</h3>
711714
<h2 id=page-selector-and-context><span class=secno>5. </span>Page
712715
Selectors and the Page Context</h2>
713716

717+
<h3 id=at-page-rule><span class=secno>5.1 </span>The @page Rule</h3>
718+
714719
<p>Authors can specify various aspects of a page box, such as its
715720
dimensions, orientation, and margins, within an <a class=css
716721
href="#page">@page</a> rule. An <a class=css href="#page">@page</a> rule
@@ -737,7 +742,7 @@ <h2 id=page-selector-and-context><span class=secno>5. </span>Page
737742
errors</a> apply; that is, valid declarations within the block are
738743
applied.</p>
739744

740-
<h3 id=left-right-first><span class=secno>5.1 </span>Page pseudo-classes:
745+
<h3 id=left-right-first><span class=secno>5.2 </span>Page pseudo-classes:
741746
:left, :right, and :first</h3>
742747

743748
<p>When printing double-sided documents, left and right pages are often
@@ -810,7 +815,7 @@ <h3 id=left-right-first><span class=secno>5.1 </span>Page pseudo-classes:
810815
page pseudo-classes.</em></p>
811816
</div>
812817

813-
<h3 id=syntax-page-selector><span class=secno>5.2 </span>@page rule
818+
<h3 id=syntax-page-selector><span class=secno>5.3 </span>@page rule
814819
grammar</h3>
815820

816821
<p>The syntax for the @page rule is a specialization of the generic
@@ -917,7 +922,7 @@ <h3 id=syntax-page-selector><span class=secno>5.2 </span>@page rule
917922
</pre>
918923
</div>
919924

920-
<h3 id=cascading-and-page-context><span class=secno>5.3 </span>Cascading
925+
<h3 id=cascading-and-page-context><span class=secno>5.4 </span>Cascading
921926
in the page context</h3>
922927

923928
<p>Declarations in page and margin contexts <a

css3-page/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ <h3 id="progression">Page Progression</h3>
421421

422422
<h2 id="page-selector-and-context">Page Selectors and the Page Context</h2>
423423

424+
<h3 id="at-page-rule">The @page Rule</h3>
425+
424426
<p>Authors can specify various aspects of a page box, such as its dimensions,
425427
orientation, and margins, within an <span class="css">@page</span> rule. An
426428
<span class="css">@page</span> rule consists of the keyword <span class="css">'@page'</span>, an <em class="RFC2119">OPTIONAL</em> page name followed

0 commit comments

Comments
 (0)