@@ -28,30 +28,30 @@ <h1>13 <a name="the-page">Paged media</a></h1>
2828< div class ="subtoc ">
2929< p > < strong > Contents</ strong >
3030 < ul class ="toc ">
31- < li class ="tocline2 "> < a href ="page.html#q1 " class ="tocxref "> 13.1 Introduction to paged media</ a >
31+ < li class ="tocline2 "> < a href ="page.html#page-intro " class ="tocxref "> 13.1 Introduction to paged media</ a >
3232 < li class ="tocline2 "> < a href ="page.html#page-box " class ="tocxref "> 13.2 Page boxes: the @page rule</ a >
3333 < ul class ="toc ">
3434 < li class ="tocline3 "> < a href ="page.html#page-margins " class ="tocxref "> 13.2.1 Page margins</ a >
3535 < ul class ="toc ">
36- < li class ="tocline4 "> < a href ="page.html#q4 " class ="tocxref "> 13.2.1.1 Rendering page boxes that do not fit a target sheet</ a >
37- < li class ="tocline4 "> < a href ="page.html#q5 " class ="tocxref "> 13.2.1.2 Positioning the page box on the sheet</ a >
36+ < li class ="tocline4 "> < a href ="page.html#oversized-page-box " class ="tocxref "> 13.2.1.1 Rendering page boxes that do not fit a target sheet</ a >
37+ < li class ="tocline4 "> < a href ="page.html#positioning-page-box " class ="tocxref "> 13.2.1.2 Positioning the page box on the sheet</ a >
3838 </ ul >
39- < li class ="tocline3 "> < a href ="page.html#q6 " class ="tocxref "> 13.2.2 Page selectors: selecting left, right, and first pages</ a >
40- < li class ="tocline3 "> < a href ="page.html#q7 " class ="tocxref "> 13.2.3 Content outside the page box</ a >
39+ < li class ="tocline3 "> < a href ="page.html#page-selectors " class ="tocxref "> 13.2.2 Page selectors: selecting left, right, and first pages</ a >
40+ < li class ="tocline3 "> < a href ="page.html#outside-page-box " class ="tocxref "> 13.2.3 Content outside the page box</ a >
4141 </ ul >
4242 < li class ="tocline2 "> < a href ="page.html#page-breaks " class ="tocxref "> 13.3 Page breaks</ a >
4343 < ul class ="toc ">
4444 < li class ="tocline3 "> < a href ="page.html#page-break-props " class ="tocxref "> 13.3.1 Page break properties: < span class ="propinst-page-break-before "> 'page-break-before'</ span > , < span class ="propinst-page-break-after "> 'page-break-after'</ span > , < span class ="propinst-page-break-inside "> 'page-break-inside'</ span > </ a >
4545 < li class ="tocline3 "> < a href ="page.html#break-inside " class ="tocxref "> 13.3.2 Breaks inside elements: < span class ="propinst-orphans "> 'orphans'</ span > , < span class ="propinst-widows "> 'widows'</ span > </ a >
4646 < li class ="tocline3 "> < a href ="page.html#allowed-page-breaks " class ="tocxref "> 13.3.3 Allowed page breaks</ a >
4747 < li class ="tocline3 "> < a href ="page.html#forced " class ="tocxref "> 13.3.4 Forced page breaks</ a >
48- < li class ="tocline3 "> < a href ="page.html#q13 " class ="tocxref "> 13.3.5 "Best" page breaks</ a >
48+ < li class ="tocline3 "> < a href ="page.html#best-page-breaks " class ="tocxref "> 13.3.5 "Best" page breaks</ a >
4949 </ ul >
50- < li class ="tocline2 "> < a href ="page.html#q14 " class ="tocxref "> 13.4 Cascading in the page context</ a >
50+ < li class ="tocline2 "> < a href ="page.html#page-cascade " class ="tocxref "> 13.4 Cascading in the page context</ a >
5151 </ ul >
5252</ div >
5353
54- < h2 > < a name ="q1 " > 13.1 Introduction to paged media</ a > </ h2 >
54+ < h2 > 13.1 < a name ="page-intro " > Introduction to paged media</ h2 >
5555
5656< p > Paged media (e.g., paper, transparencies, pages that are displayed
5757on computer screens, etc.) differ from < a
@@ -160,20 +160,20 @@ <h3>13.2.1 <a name="page-margins">Page margins</a></h3>
160160
161161
162162
163- < h4 > < a name =" q4 " > 13.2.1.1 Rendering page boxes that do not fit a target sheet</ a > </ h4 >
163+ < h4 > 13.2.1.1 < a name =" oversized-page-box " > Rendering page boxes that do not fit a target sheet</ h4 >
164164
165165< P > If a page box does not fit the target sheet dimensions, the
166166user agent may choose to:</ p >
167167
168168< UL >
169- < LI > Rotate the page box 90° if this will make the page box fit.
169+ < LI > Rotate the page box 90� if this will make the page box fit.
170170< LI > Scale the page to fit the target.
171171</ UL >
172172
173173< P > The user agent should consult the user before performing these
174174operations.
175175
176- < h4 > < a name =" q5 " > 13.2.1.2 Positioning the page box on the sheet</ a > </ h4 >
176+ < h4 > 13.2.1.2 < a name =" positioning-page-box " > Positioning the page box on the sheet</ h4 >
177177
178178< P > When the page box is smaller than the target size, the user agent
179179is free to place the page box anywhere on the sheet. However, it is
@@ -182,7 +182,7 @@ <h4><a name="q5">13.2.1.2 Positioning the page box on the sheet</a></h4>
182182is printed near the edge of the sheet.
183183
184184
185- < h3 > < a name ="q6 " > 13.2.2 Page selectors: selecting left, right, and first pages</ a > </ H3 >
185+ < h3 > 13.2.2 < a name ="page-selectors " > Page selectors: selecting left, right, and first pages</ H3 >
186186
187187< P > When printing double-sided documents, the < a href ="#page-box "> page
188188boxes</ a > on left and right pages may be different. This can be
@@ -239,7 +239,7 @@ <h3><a name="q6">13.2.2 Page selectors: selecting left, right, and first pages</
239239of the first page should be used.
240240
241241
242- < h3 id ="outside-page-box "> < a name =" q7 " > 13.2.3 Content outside the page box</ a > </ h3 >
242+ < h3 > 13.2.3 < a name ="outside-page-box "> Content outside the page box</ a > </ h3 >
243243
244244< P > When formatting content in the page model, some content may end up
245245outside the page box. For example, an element whose < a href ="text.html#propdef-white-space " class ="noxref "> < span
@@ -496,7 +496,7 @@ <h3>13.3.4 <a name="forced">Forced page breaks</a></h3>
496496margin, there is at least one with the value 'always', 'left', or
497497'right'.
498498
499- < h3 > < a name ="q13 " > 13.3.5 "Best" page breaks</ a > </ h3 >
499+ < h3 > 13.3.5 < a name ="best-page-breaks " > "Best" page breaks</ h3 >
500500
501501< p > CSS 2.1 does < em > not</ em > define which of a set of allowed page breaks
502502must be used; CSS 2.1 does not forbid a user agent from breaking at every
@@ -550,7 +550,7 @@ <h3><a name="q13">13.3.5 "Best" page breaks</a></h3>
550550</ ul >
551551</ div >
552552
553- < h2 > < a name ="q14 " > 13.4 Cascading in the page context</ a > </ H2 >
553+ < h2 > 13.4 < a name ="page-cascade " > Cascading in the page context</ a > </ H2 >
554554
555555< P > Declarations in the < a href ="#page-context "> page context</ a > obey
556556the < a href ="cascade.html "> cascade</ a > just like normal CSS
0 commit comments