@@ -223,7 +223,8 @@ <h2 id="page-terms">Page Terminology</h2>
223223 particular printing device; but when its dimensions are known, user agents
224224 < em class ="RFC2119 "> MAY</ em > adjust the formatting of the document so that
225225 content falls within the printable area. How this adjustment is accomplished is
226- device dependent within the constraints expressed in the sections < a href ="#renderingpages "> Rendering page boxes that do not fit a page sheet</ a > and
226+ device dependent within the constraints expressed in the sections
227+ < a href ="#renderingpages "> Rendering page boxes that do not fit a page sheet</ a > and
227228 < a href ="#content-outside-box "> Content outside the page box</ a > .</ dd >
228229
229230 < dt id ="page-orientation "> Page Orientation</ dt >
@@ -422,7 +423,7 @@ <h3 id="progression">Page Progression</h3>
422423is the direction in which the printed pages of a document would be sequenced
423424when laid out side-to-side. For example, English and horizontally-set Japanese
424425typically progress from left to right, whereas Arabic and vertically-set
425- Japanese pages typically progress from right to left. In documents with with
426+ Japanese pages typically progress from right to left. In documents with
426427a left-to-right page progression the first page of the document is a right
427428page, and vice versa.</ p >
428429
@@ -753,7 +754,7 @@ <h2 id="margin-boxes">Margin Boxes</h2>
753754could use the margin boxes of the binding edge of the page for the page footer.</ p >
754755</ div >
755756
756- < p > Margin boxes are oriented with respect to the content and are independent of
757+ < p > Margin boxes are positioned with respect to the page area and are independent of
757758page orientation, for example the top margin boxes are above the page area in
758759both portrait and landscape orientation. The various margin boxes are defined
759760and illustrated in the diagram below:
@@ -1273,7 +1274,7 @@ <h2 id="page-properties">Page Properties</h2>
12731274 and < a href ="#margin-box-dimensions "> Computing Margin Box Dimensions</ a > .
12741275 < li > The page background covers the entire page box, including the page margins.
12751276 Background images are positioned as for any other box, by default anchored
1276- within the page area (i.e. the page box's content box) ; however if
1277+ within the page box's padding area ; however if
12771278 'background-attachment' is 'fixed' then the image is positioned relative to
12781279 the page box including its margins.</ li >
12791280 < li > The rules for counter scoping are modified < a href ="page-based-counters "> as
@@ -1510,17 +1511,16 @@ <h3 id="page-size-prop">Page size: the 'size' property</h3>
15101511In the general case, where one page box is rendered onto one < a href ="#page-sheet "> page sheet</ a > ,
15111512the 'size' property also indicates the size of the destination page sheet.
15121513
1513- < p > The size of a page box can either be "absolute" (fixed size) or "relative"
1514- (scalable, i.e., fitting available sheet sizes).</ p >
1515-
1516- < p > The first three values in the table below can be used to create relative page
1517- boxes.</ p >
1518-
1519- < p > Other values define a fixed-size page box, and thereby indicate the preferred
1514+ < p > The size of a page box can either be "absolute" (fixed size) or "scalable"
1515+ (i.e., fitting available sheet sizes).
1516+ The first three values in the table below can be used to create scalable page
1517+ boxes.
1518+ Other values define a fixed-size page box, and thereby indicate the preferred
15201519output media size. When possible, output should be rendered on the media size
1521- indicated. If the specified size is not available, the smallest available
1522- larger size should be used; if not available, the contents of the page box
1523- should be scaled down to fit the largest smaller page sheet available.</ p >
1520+ indicated.
1521+ If the specified size is not available, the rules for
1522+ < a href ="#renderingpages "> transposing a page box to a different size</ a >
1523+ apply.</ p >
15241524
15251525< p > If a < code > size</ code > property declaration is qualified by a ''width'',
15261526''height'', ''device-width'', ''device-height'', ''aspect-ratio'',
@@ -1531,6 +1531,9 @@ <h3 id="page-size-prop">Page size: the 'size' property</h3>
15311531queries do not honor 'size': they assume the paper size that would be chosen
15321532if no @page rules were specified.</ p >
15331533
1534+ < p class =issue > It would be useful if media queries could respond at least
1535+ to sizes specified on an unqualified @page.
1536+
15341537< div class ="example ">
15351538 < p > In the following example
15361539 < pre >
@@ -1695,7 +1698,7 @@ <h4 id="page-size-media-query">Media Queries</h4>
16951698< h3 id ="renderingpages "> Rendering page boxes that do not fit a page sheet</ h3 >
16961699
16971700< p > If a page box does not match the target page sheet dimensions, the user agent
1698- < em class =" RFC2119 " > MAY </ em > choose (in order of preference) to :</ p >
1701+ should do one of the following (in order of preference):</ p >
16991702
17001703< ol >
17011704 < li > Render the page box at the indicated size on a larger page sheet.</ li >
@@ -1753,7 +1756,7 @@ <h3 id="pg-br-before-after">Break before/after elements: <span class="property">
17531756 < td > auto
17541757 < tr >
17551758 < th > Applies to:
1756- < td > block-level elements
1759+ < td > block-level boxes, table row groups, table rows (but see prose)
17571760 < tr >
17581761 < th > Inherited:
17591762 < td > no
@@ -1964,7 +1967,7 @@ <h3 id="breaks-inside">Breaks inside elements: 'orphans', 'widows'</h3>
19641967 < td > 2
19651968 < tr >
19661969 < th > Applies to:
1967- < td > block-level elements
1970+ < td > block containers
19681971 < tr >
19691972 < th > Inherited:
19701973 < td > yes
@@ -1973,7 +1976,7 @@ <h3 id="breaks-inside">Breaks inside elements: 'orphans', 'widows'</h3>
19731976 < td > N/A
19741977 < tr >
19751978 < th > Media:
1976- < td > visual
1979+ < td > paged
19771980 < tr >
19781981 < th > Computed value:
19791982 < td > specified value
@@ -1991,7 +1994,7 @@ <h3 id="breaks-inside">Breaks inside elements: 'orphans', 'widows'</h3>
19911994 < td > 2
19921995 < tr >
19931996 < th > Applies to:
1994- < td > block-level elements
1997+ < td > block containers
19951998 < tr >
19961999 < th > Inherited:
19972000 < td > yes
@@ -2000,7 +2003,7 @@ <h3 id="breaks-inside">Breaks inside elements: 'orphans', 'widows'</h3>
20002003 < td > N/A
20012004 < tr >
20022005 < th > Media:
2003- < td > visual
2006+ < td > paged
20042007 < tr >
20052008 < th > Computed value:
20062009 < td > specified value
0 commit comments