@@ -162,63 +162,62 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
162162 <!--begin-toc-->
163163
164164 < ul class =toc >
165- < li > < a href ="#introduction "> < span class = secno > 1. </ span > Introduction</ a >
165+ < li class = no-num > < a href ="#introduction "> Introduction</ a >
166166
167- < li > < a href ="#running-headers-and-footers "> < span class =secno > 2 .
167+ < li > < a href ="#running-headers-and-footers "> < span class =secno > 1 .
168168 </ span > Running headers and footers</ a >
169169 < ul class =toc >
170- < li > < a href ="#named-strings "> < span class =secno > 2 .1. </ span > Named
170+ < li > < a href ="#named-strings "> < span class =secno > 1 .1. </ span > Named
171171 strings</ a >
172172 < ul class =toc >
173173 < li > < a href ="#setting-named-strings-the-string-set-pro "> < span
174- class =secno > 2 .1.1. </ span > Setting named strings: the ‘< code
174+ class =secno > 1 .1.1. </ span > Setting named strings: the ‘< code
175175 class =property > string-set</ code > ’ property</ a >
176176
177- < li > < a href ="#using-named-strings "> < span class =secno > 2 .1.2.
177+ < li > < a href ="#using-named-strings "> < span class =secno > 1 .1.2.
178178 </ span > Using named strings</ a >
179179 </ ul >
180180
181- < li > < a href ="#running-elements "> < span class =secno > 2 .2. </ span > Running
181+ < li > < a href ="#running-elements "> < span class =secno > 1 .2. </ span > Running
182182 elements</ a >
183183 </ ul >
184184
185- < li > < a href ="#leaders "> < span class =secno > 3 . </ span > Leaders</ a >
185+ < li > < a href ="#leaders "> < span class =secno > 2 . </ span > Leaders</ a >
186186
187- < li > < a href ="#cross-references "> < span class =secno > 4 .
187+ < li > < a href ="#cross-references "> < span class =secno > 3 .
188188 </ span > Cross-references</ a >
189189 < ul class =toc >
190190 < li > < a href ="#the-target-counter-and-target-counters-v "> < span
191- class =secno > 4 .1. </ span > The ‘< code class =css > target-counter</ code > ’
191+ class =secno > 3 .1. </ span > The ‘< code class =css > target-counter</ code > ’
192192 and ‘< code class =css > target-counters</ code > ’ values</ a >
193193
194- < li > < a href ="#the-target-text-value "> < span class =secno > 4 .2. </ span > The
194+ < li > < a href ="#the-target-text-value "> < span class =secno > 3 .2. </ span > The
195195 ‘< code class =css > target-text</ code > ’ value</ a >
196196 </ ul >
197197
198- < li > < a href ="#footnotes "> < span class =secno > 5 . </ span > Footnotes</ a >
198+ < li > < a href ="#footnotes "> < span class =secno > 4 . </ span > Footnotes</ a >
199199 < ul class =toc >
200- < li > < a href ="#turning-elements-into-footnotes "> < span class =secno > 5 .1.
200+ < li > < a href ="#turning-elements-into-footnotes "> < span class =secno > 4 .1.
201201 </ span > Turning elements into footnotes</ a >
202202
203- < li > < a href ="#the-footnote-area "> < span class =secno > 5 .2. </ span > The
203+ < li > < a href ="#the-footnote-area "> < span class =secno > 4 .2. </ span > The
204204 footnote area</ a >
205205
206- < li > < a href ="#footnote-calls "> < span class =secno > 5 .3. </ span > Footnote
206+ < li > < a href ="#footnote-calls "> < span class =secno > 4 .3. </ span > Footnote
207207 calls</ a >
208208
209- < li > < a href ="#footnote-markers "> < span class =secno > 5 .4. </ span > Footnote
209+ < li > < a href ="#footnote-markers "> < span class =secno > 4 .4. </ span > Footnote
210210 markers</ a >
211211
212- < li > < a href ="#counting-footnotes "> < span class =secno > 5 .5. </ span > Counting
212+ < li > < a href ="#counting-footnotes "> < span class =secno > 4 .5. </ span > Counting
213213 footnotes</ a >
214214
215- < li > < a href ="#laying-out-footnotes "> < span class =secno > 5 .6. </ span > Laying
215+ < li > < a href ="#laying-out-footnotes "> < span class =secno > 4 .6. </ span > Laying
216216 out footnotes</ a >
217-
218- < li > < a href ="#footnote-magic "> < span class =secno > 5.7. </ span > Footnote
219- magic</ a >
220217 </ ul >
221218
219+ < li > < a href ="#sidenotes "> < span class =secno > 5. </ span > Sidenotes</ a >
220+
222221 < li > < a href ="#page-marks-and-bleed-area "> < span class =secno > 6. </ span > Page
223222 marks and bleed area</ a >
224223
@@ -338,7 +337,7 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
338337 </ ul >
339338 <!--end-toc-->
340339
341- < h2 id = introduction > < span class =secno > 1. </ span > Introduction</ h2 >
340+ < h2 class =no-num id = introduction > Introduction</ h2 >
342341
343342 < p > (This section is not normative.)
344343
@@ -347,7 +346,7 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
347346 types, and border segments) may also used with other media types. However,
348347 this specification is monstly concerned with paged media.
349348
350- < h2 id =running-headers-and-footers > < span class =secno > 2 . </ span > Running
349+ < h2 id =running-headers-and-footers > < span class =secno > 1 . </ span > Running
351350 headers and footers</ h2 >
352351
353352 < p > To aid navigation in printed material, headers and footers are often
@@ -362,7 +361,7 @@ <h2 id=running-headers-and-footers><span class=secno>2. </span>Running
362361 < em > moves</ em > elements (with style, structure, and replaced content) into
363362 a margin box.
364363
365- < h3 id =named-strings > < span class =secno > 2 .1. </ span > Named strings</ h3 >
364+ < h3 id =named-strings > < span class =secno > 1 .1. </ span > Named strings</ h3 >
366365 <!--
367366<p>Named strings are discussed both in the CSS3 Generated and Replaced
368367Content (section 9) and in CSS3 Paged Media (several places). For a
@@ -392,7 +391,7 @@ <h3 id=named-strings><span class=secno>2.1. </span>Named strings</h3>
392391</ pre >
393392 </ div >
394393
395- < h4 id =setting-named-strings-the-string-set-pro > < span class =secno > 2 .1.1.
394+ < h4 id =setting-named-strings-the-string-set-pro > < span class =secno > 1 .1.1.
396395 </ span > Setting named strings: the ‘< a href ="#string-set "> < code
397396 class =property > string-set</ code > </ a > ’ property</ h4 >
398397
@@ -598,7 +597,7 @@ <h4 id=setting-named-strings-the-string-set-pro><span class=secno>2.1.1.
598597</ pre >
599598 </ div >
600599
601- < h4 id =using-named-strings > < span class =secno > 2 .1.2. </ span > Using named
600+ < h4 id =using-named-strings > < span class =secno > 1 .1.2. </ span > Using named
602601 strings</ h4 >
603602
604603 < p > The content of named strings can be recalled by using the ‘< code
@@ -801,7 +800,7 @@ <h4 id=using-named-strings><span class=secno>2.1.2. </span>Using named
801800 class =css > string()</ code > ’ value has not been assigned a value, the
802801 empty string is used.
803802
804- < h3 id =running-elements > < span class =secno > 2 .2. </ span > Running elements</ h3 >
803+ < h3 id =running-elements > < span class =secno > 1 .2. </ span > Running elements</ h3 >
805804
806805 < p > Named strings, as described above, can only hold textual content; any
807806 style, structure or replaced content associated with the element is
@@ -922,7 +921,7 @@ <h3 id=running-elements><span class=secno>2.2. </span>Running elements</h3>
922921 the second "span" element still sets the exit value for "header" and this
923922 value is used on subsequent pages.</ div >
924923
925- < h2 id =leaders > < span class =secno > 3 . </ span > Leaders</ h2 >
924+ < h2 id =leaders > < span class =secno > 2 . </ span > Leaders</ h2 >
926925
927926 < p > A leader is a visual pattern that guides the eye. Typically, leaders are
928927 used to visually connect an entry in a list with a corresponding code. For
@@ -1157,15 +1156,15 @@ <h2 id=leaders><span class=secno>3. </span>Leaders</h2>
11571156</ pre >
11581157 </ div >
11591158
1160- < h2 id =cross-references > < span class =secno > 4 . </ span > Cross-references</ h2 >
1159+ < h2 id =cross-references > < span class =secno > 3 . </ span > Cross-references</ h2 >
11611160
11621161 < p > It is common to refer to other parts of a document by way of a section
11631162 number (e.g., "See section 3.4.1"), a page number (e.g., "See discussion
11641163 on page 72"), or a string (e.g., "See the chapter on Europe"). Being able
11651164 to resolve these cross-references automatically saves time and reduces the
11661165 number of errors.
11671166
1168- < h3 id =the-target-counter-and-target-counters-v > < span class =secno > 4 .1.
1167+ < h3 id =the-target-counter-and-target-counters-v > < span class =secno > 3 .1.
11691168 </ span > The ‘< code class =css > target-counter</ code > ’ and ‘< code
11701169 class =css > target-counters</ code > ’ values</ h3 >
11711170
@@ -1201,7 +1200,7 @@ <h3 id=the-target-counter-and-target-counters-v><span class=secno>4.1.
12011200</ pre >
12021201 </ div >
12031202
1204- < h3 id =the-target-text-value > < span class =secno > 4 .2. </ span > The ‘< code
1203+ < h3 id =the-target-text-value > < span class =secno > 3 .2. </ span > The ‘< code
12051204 class =css > target-text</ code > ’ value</ h3 >
12061205
12071206 < p > Textual cross-references are generated by ‘< code
@@ -1236,7 +1235,7 @@ <h3 id=the-target-text-value><span class=secno>4.2. </span>The ‘<code
12361235</ pre >
12371236 </ div >
12381237
1239- < h2 id =footnotes > < span class =secno > 5 . </ span > Footnotes</ h2 >
1238+ < h2 id =footnotes > < span class =secno > 4 . </ span > Footnotes</ h2 >
12401239
12411240 < p > When an element is turned into a footnote, certain magical things
12421241 happen. The element is moved to the footnote area, a footnote call is left
@@ -1346,7 +1345,7 @@ <h2 id=footnotes><span class=secno>5. </span>Footnotes</h2>
13461345</ pre >
13471346 </ div >
13481347
1349- < h3 id =turning-elements-into-footnotes > < span class =secno > 5 .1.
1348+ < h3 id =turning-elements-into-footnotes > < span class =secno > 4 .1.
13501349 </ span > Turning elements into footnotes</ h3 >
13511350
13521351 < p > An element with ‘< code class =css > float: footnote</ code > ’ (called a
@@ -1396,7 +1395,7 @@ <h3 id=turning-elements-into-footnotes><span class=secno>5.1.
13961395 < p > For each new footnote element, the ‘< code class =css > footnote</ code > ’
13971396 counter is automatically incremented.
13981397
1399- < h3 id =the-footnote-area > < span class =secno > 5 .2. </ span > The footnote area</ h3 >
1398+ < h3 id =the-footnote-area > < span class =secno > 4 .2. </ span > The footnote area</ h3 >
14001399
14011400 < p > All elements with ‘< code class =css > float: footnote</ code > ’ are moved
14021401 to the < em > footnote area</ em > . The footnote area is described by an
@@ -1518,7 +1517,7 @@ <h3 id=the-footnote-area><span class=secno>5.2. </span>The footnote area</h3>
15181517table or float instead of the bottom of the page.
15191518-->
15201519
1521- < h3 id =footnote-calls > < span class =secno > 5 .3. </ span > Footnote calls</ h3 >
1520+ < h3 id =footnote-calls > < span class =secno > 4 .3. </ span > Footnote calls</ h3 >
15221521
15231522 < p > When an element is moved to the footnote area, a < em > footnote-call</ em >
15241523 is left behind. By default, User Agents must behave as if this code is
@@ -1532,7 +1531,7 @@ <h3 id=footnote-calls><span class=secno>5.3. </span>Footnote calls</h3>
15321531
15331532 < p > The resulting note call is a super-script decimal number.
15341533
1535- < h3 id =footnote-markers > < span class =secno > 5 .4. </ span > Footnote markers</ h3 >
1534+ < h3 id =footnote-markers > < span class =secno > 4 .4. </ span > Footnote markers</ h3 >
15361535
15371536 < p > A ::footnote-marker pseudo-element is added to each footnote element, in
15381537 the same place, and replacing, the ::before pseudo-element. User agents
@@ -1561,7 +1560,7 @@ <h3 id=footnote-markers><span class=secno>5.4. </span>Footnote markers</h3>
15611560 suggested: the < em > margin</ em > box of the marker box is horizontally
15621561 aligned with the start of the line box.
15631562
1564- < h3 id =counting-footnotes > < span class =secno > 5 .5. </ span > Counting footnotes</ h3 >
1563+ < h3 id =counting-footnotes > < span class =secno > 4 .5. </ span > Counting footnotes</ h3 >
15651564
15661565 < p > The "footnote" counter is automatically incremented each time a footnote
15671566 is generated. That is, the "footnote" counter is incremented by one each
@@ -1598,7 +1597,7 @@ <h3 id=counting-footnotes><span class=secno>5.5. </span>Counting footnotes</h3>
15981597</div>
15991598-->
16001599
1601- < h3 id =laying-out-footnotes > < span class =secno > 5 .6. </ span > Laying out
1600+ < h3 id =laying-out-footnotes > < span class =secno > 4 .6. </ span > Laying out
16021601 footnotes</ h3 >
16031602
16041603 < p > Footnotes must appear as early as possible under the following
@@ -1624,32 +1623,30 @@ <h3 id=laying-out-footnotes><span class=secno>5.6. </span>Laying out
16241623 empty, unless its ‘< code class =property > max-height</ code > ’ is too
16251624 small.
16261625 </ ol >
1626+ <!--
1627+ <h3>Footnote magic</h3>
1628+
1629+ <p>When an element is turned into a footnote, certain magical things
1630+ happen. The element is moved to the footnote area, a footnote call is
1631+ left behind in its place, a footnote marker is displayed before the
1632+ element, and the footnote counter is incremented.
1633+
1634+ <p>When rendering footnotes, User Agents may apply certain heuristics
1635+ to improve the presentation. For example, the space between a
1636+ footnote-call and surrounding text may be adjusted. Another example is
1637+ the height of the footnote area; it may be heuristically constrained
1638+ to limit the area that is used for footnotes.
1639+ -->
16271640
1628- < h3 id =footnote-magic > < span class =secno > 5.7. </ span > Footnote magic</ h3 >
1629-
1630- < p > When an element is turned into a footnote, certain magical things
1631- happen. The element is moved to the footnote area, a footnote call is left
1632- behind in its place, a footnote marker is displayed before the element,
1633- and the footnote counter is incremented.
1634-
1635- < p > When rendering footnotes, User Agents may apply certain heuristics to
1636- improve the presentation. For example, the space between a footnote-call
1637- and surrounding text may be adjusted. Another example is the height of the
1638- footnote area; it may be heuristically constrained to limit the area that
1639- is used for footnotes. <!--
1640- <h2>Sidenotes</h2>
1641-
1642- <p>Sidenotes are supported the same way as footnotes; only the name
1643- and the settings in the default style sheet differentiates the two.
1641+ < h2 id =sidenotes > < span class =secno > 5. </ span > Sidenotes</ h2 >
16441642
1645- <p class=note>The motivation for having another page-based area into
1646- which content can be floated is that footnotes and sidenotes are
1647- often used in the same document.
1643+ < p > Sidenotes are supported the same way as footnotes; only the name and the
1644+ settings in the default style sheet differentiates the two.
16481645
1649- <div class=" example" >
1650- <p>This example moves images to the outside margin of pages:
1646+ < div class =example >
1647+ < p > This example moves images to the outside margin of pages:
16511648
1652- <pre>
1649+ < pre >
16531650@page :left {
16541651 margin-left: 10em;
16551652 @sidenote { position: fixed; left: -8em; width: 6em }
@@ -1660,17 +1657,17 @@ <h2>Sidenotes</h2>
16601657}
16611658img { float: sidenote }
16621659</ pre >
1663- </div>
16641660
1665- <p class=note>The reason for having both a footnote and a sidenote area
1666- on every page is that some documents use both.
1661+ < p > It is important to note that it is the sidenote area that is descibed
1662+ by @sidenote, and not the elements that are floated into the sidenote
1663+ area.
1664+ </ div >
16671665
1668- <p class=issue>Should there be a mechanism to create new areas like
1669- footnote/sidenote, or are two "magic" areas enough?
1666+ < p class =issue > Should there be a mechanism to create new areas like
1667+ footnote/sidenote, or are two predefinded areas enough? <!--
1668+ <h2>Hyphenation</h2>
16701669-->
16711670 <!--
1672- <h2>Hyphenation</h2>
1673- --> <!--
16741671<table class=hyphenate>
16751672<tr><th>CSS<th>XSL<th>DSSSL
16761673<tr><th>hyphens<th>hyphenate<th>hyphenate
@@ -4482,7 +4479,7 @@ <h2 id=selecting-pages><span class=secno>17. </span>Selecting pages</h2>
44824479 < p > In CSS 2.0, < a
44834480 href ="http://www.w3.org/TR/CSS2/page.html#page-selectors "> first, left and
44844481 right pages</ a > can be selected. This specification adds support for
4485- selecting a certain page generate by a certain element .
4482+ selecting the nth page of a certiain type .
44864483
44874484 < p > The ‘< code class =property > first-page</ code > ’ pseudo-element is
44884485 similar to the ‘< code class =property > first-letter</ code > ’ and ‘< code
@@ -4755,13 +4752,13 @@ <h2 class=no-num id=index>Index</h2>
47554752 < li > marks, < a href ="#marks " title ="section 6. "> < strong > 6.</ strong > </ a >
47564753
47574754 < li > named strings, < a href ="#named-strings0 "
4758- title ="section 2 . "> < strong > 2 .</ strong > </ a >
4755+ title ="section 1 . "> < strong > 1 .</ strong > </ a >
47594756
47604757 < li > running elements, < a href ="#running-elements0 "
4761- title ="section 2 . "> < strong > 2 .</ strong > </ a >
4758+ title ="section 1 . "> < strong > 1 .</ strong > </ a >
47624759
47634760 < li > string-set, < a href ="#string-set "
4764- title ="section 2 .1.1. "> < strong > 2 .1.1.</ strong > </ a >
4761+ title ="section 1 .1.1. "> < strong > 1 .1.1.</ strong > </ a >
47654762 </ ul >
47664763 <!--end-index-->
47674764
0 commit comments