@@ -163,10 +163,6 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
163163 href ="#breaks-inside "> < span class =secno > 3.2. </ span > Breaks inside
164164 elements: ‘< code class =property > orphans</ code > ’,
165165 ‘< code class =property > widows</ code > ’</ a >
166-
167- < li id =using-named-pages-the-page-property- > < a
168- href ="#using-named-pages "> < span class =secno > 3.3. </ span > Using named
169- pages: the ‘< code class =property > page</ code > ’ property</ a >
170166 </ ul >
171167
172168 < li id =rules-for-breaking-4.1.-allowed-page-bre > < a
@@ -553,8 +549,8 @@ <h3 id=explicit-break-properties><span class=secno>3.1. </span> Breaking
553549 than ‘< code class =css > auto</ code > ’, the forced break values
554550 (‘< code class =css > always</ code > ’, ‘< code
555551 class =css > left</ code > ’, ‘< code class =css > right</ code > ’,
556- ‘< a href =" #page " > < code class =css > page</ code > </ a > ’,
557- ‘ < code class =css > column</ code > ’ and ‘< code
552+ ‘< code class =css > page</ code > ’, ‘ < code
553+ class =css > column</ code > ’ and ‘< code
558554 class =css > region</ code > ’) take precedence over the values
559555 (‘< code class =css > avoid-page</ code > ’, ‘< code
560556 class =css > avoid-column</ code > ’ and ‘< code
@@ -687,126 +683,6 @@ <h3 id=breaks-inside><span class=secno>3.2. </span> Breaks inside elements:
687683 class =property > orphans</ code > </ a > ’, the rule simply becomes that all
688684 lines in the block must be kept together.
689685
690- < h3 id =using-named-pages > < span class =secno > 3.3. </ span > Using named pages:
691- the ‘< a href ="#page "> < code class =property > page</ code > </ a > ’
692- property</ h3 >
693-
694- < table class =propdef summary ="property definition ">
695- < tbody >
696- < tr >
697- < th > Name:
698-
699- < td > < dfn id =page > page</ dfn >
700-
701- < tr >
702- < th > Value:
703-
704- < td > auto | <identifier>
705-
706- < tr >
707- < th > Initial:
708-
709- < td > auto
710-
711- < tr >
712- < th > Applies to:
713-
714- < td > block-level elements
715-
716- < tr >
717- < th > Inherited:
718-
719- < td > no (but see prose)
720-
721- < tr >
722- < th > Percentages:
723-
724- < td > N/A
725-
726- < tr >
727- < th > Media:
728-
729- < td > paged
730-
731- < tr >
732- < th > Computed value:
733-
734- < td > specified value
735- </ table >
736-
737- < p id =the-page-property-is-used-to-specify-a-p > The ‘< a
738- href ="#page "> < code class =property > page</ code > </ a > ’ property is used
739- to specify a particular type of page where an element should be displayed.
740-
741-
742- < div class =example >
743- < p id =this-example-will-put-all-tables-on-a-ri > This example will put all
744- tables on a right-hand side landscape page (named "rotated"):</ p >
745-
746- < pre >
747- <!-- --> @page rotated { size: landscape }
748- <!-- --> table { page: rotated; page-break-before: right }</ pre >
749- </ div >
750-
751- < p id =the-page-property-works-as-follows-if-a- > The ‘< a
752- href ="#page "> < code class =property > page</ code > </ a > ’ property works as
753- follows: If a block box with inline content has a ‘< a
754- href ="#page "> < code class =property > page</ code > </ a > ’ property that is
755- different from the preceding block box with inline content, then one or
756- two page breaks are inserted between them, and the boxes after the break
757- are rendered on a page box of the named type. See < a
758- href ="#forced-pg-brk "> "Forced page breaks" below</ a > .
759-
760- < p id =the-page-property-does-not-inherit.-howe > The ‘< a
761- href ="#page "> < code class =property > page</ code > </ a > ’ property does not
762- inherit. However, if the ‘< a href ="#page "> < code
763- class =property > page</ code > </ a > ’ value on an element is ‘< code
764- class =css > auto</ code > ’, then it is treated as having the same name
765- as its nearest ancestor with a non-auto value. When indicated on the root
766- element, the effective name is the empty string.
767-
768- < p id =because-a-previous-version-of-this-speci > Because a previous version
769- of this specification indicated that the ‘< a href ="#page "> < code
770- class =property > page</ code > </ a > ’ property is inherited, an
771- implementation that inherits the ‘< a href ="#page "> < code
772- class =property > page</ code > </ a > ’ property and treats ‘< code
773- class =css > auto</ code > ’ as always naming the empty string remains
774- conformant to CSS3 Paged Media. Therefore authors should not explicitly
775- specify the ‘< code class =css > auto</ code > ’ value on a
776- descendant of an element with a non-‘< code
777- class =css > auto</ code > ’ ‘< a href ="#page "> < code
778- class =property > page</ code > </ a > ’ value as the resulting behavior will
779- be unpredictable.
780-
781- < p id =page-names-are-case-sensitive-identifier > Page names are
782- case-sensitive identifiers. However the ‘< code
783- class =css > auto</ code > ’ value, being a CSS keyword, is < a
784- href ="http://www.w3.org/TR/CSS21/syndata.html#characters "> case-insensitive</ a > .
785-
786-
787- < div class =example >
788- < p id =in-this-example-the-two-tables-are-rende > In this example, the two
789- tables are rendered on landscape pages (indeed, on the same page, if they
790- fit). The page type "narrow" is used for the <p> after the second
791- table, as the page properties for the table element are no longer in
792- effect:</ p >
793-
794- < pre >
795- <!-- --> @page narrow { size: 9cm 18cm }
796- <!-- --> @page rotated { size: landscape }
797- <!-- --> div { page: narrow }
798- <!-- --> table { page: rotated }</ pre >
799-
800- < p id =with-this-document- > with this document:</ p >
801-
802- < pre >
803- <!-- --> <div>
804- <!-- --> <table>...</table>
805- <!-- --> <table>...</table>
806- <!-- --> <p>This text is rendered on a 'narrow' page</p>
807- <!-- --> </div></ pre >
808- </ div >
809-
810686 < h2 id =breaking-rules > < span class =secno > 4. </ span > Rules for Breaking</ h2 >
811687
812688 < p id =when-a-break-splits-a-box-the-boxs-botto > When a break splits a box,
@@ -904,8 +780,8 @@ <h3 id=forced-pg-brk><span class=secno>4.2. </span> Forced page breaks</h3>
904780
905781 < p id =a-page-break-must-also-occur-at-1-if-the > A page break must also
906782 occur at < a href ="#brk-btw-blocks "> (1)</ a > if the last line box above this
907- margin and the first one below it do not have the same value for ‘ < a
908- href =" #page " > < code class =property > page</ code > </ a > ’.
783+ margin and the first one below it do not have the same value for
784+ ‘ < code class =property > page</ code > ’.
909785
910786 < p id =when-a-forced-page-break-occurs-at-1-the > When a forced page break
911787 occurs at < a href ="#brk-btw-blocks "> (1)</ a > , the used values of any
@@ -1297,8 +1173,6 @@ <h2 class=no-num id=index>Index</h2>
12971173
12981174 < li > orphans, < a href ="#orphans " title =orphans > < strong > 3.2.</ strong > </ a >
12991175
1300- < li > page, < a href ="#page " title =page > < strong > 3.3.</ strong > </ a >
1301-
13021176 < li > pagination, < a href ="#pagination "
13031177 title =pagination > < strong > 1.</ strong > </ a >
13041178
@@ -1399,21 +1273,6 @@ <h2 class=no-num id=property-index>Property index</h2>
13991273
14001274 < td > visual
14011275
1402- < tr >
1403- < th > < a class =property href ="#page "> page</ a >
1404-
1405- < td > auto | <identifier>
1406-
1407- < td > auto
1408-
1409- < td > block-level elements
1410-
1411- < td > no (but see prose)
1412-
1413- < td > N/A
1414-
1415- < td > paged
1416-
14171276 < tr >
14181277 < th > < a class =property href ="#widows "> widows</ a >
14191278
0 commit comments