11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: page.src,v 2.41 2004-02-14 00:59:12 bbos Exp $ -->
3+ <!-- $Id: page.src,v 2.42 2004-12-07 10:10:25 bbos Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Paged media</TITLE>
1616on computer screens, etc.) differ from <a
1717href="./media.html#continuous-media-group">continuous media</a> in
1818that the content of the document is split into one or more discrete
19- pages. To handle pages, CSS 2.1 describes how page margins are set
19+ pages. To handle pages, CSS 2.1 describes how page margins are set
2020on <a href="#page-box">page boxes</a>, and how <a href="#page-breaks">page breaks</a> are declared.
2121
2222<p>The user agent is responsible for transferring the page boxes of a
@@ -50,7 +50,7 @@ box</dfn></span> is a rectangular region that contains two areas:</p>
5050<li>The <span class="index-def" title="page area"><a
5151name="page-area"><dfn>page area</dfn></a></span>. The page
5252area includes the boxes laid out on that page.
53- The edges of the page area act as the initial <a
53+ The edges of the first page area act as the initial <a
5454href="visudet.html#containing-block-details">containing block</a>
5555for layout that occurs between page breaks.
5656
@@ -73,7 +73,7 @@ all left pages, or all right pages</p>
7373
7474<h3><a name="page-margins">Page margins</a></h3>
7575
76- <P>In CSS 2.1, only the <a href="box.html#margin-properties">margin
76+ <P>In CSS 2.1, only the <a href="box.html#margin-properties">margin
7777properties</a> (<span class="propinst-margin-top">'margin-top'</span>,
7878<span class="propinst-margin-right">'margin-right'</span>, <span
7979class="propinst-margin-bottom">'margin-bottom'</span>, <span
@@ -101,9 +101,9 @@ Here is a simple example which sets all page margins on all pages:
101101fonts, so 'em' and 'ex' units are not allowed. Percentage values on
102102the margin properties are relative to the dimensions of the <a
103103href="#page-box">page box</a>; for left and right margins, they refer
104- to page box width while for top and bottom margins, they refer to page
105- box height. All other units associated with the respective CSS 2.1
106- properties are allowed.
104+ to the width of the page box while for top and bottom margins, they
105+ refer to the height of the page box. All other units associated with
106+ the respective CSS 2.1 properties are allowed.
107107
108108<P>Due to negative margin values (either on the page box or on
109109elements) or <a href="visuren.html#absolute-positioning">absolute
@@ -282,8 +282,10 @@ of the following element. When these properties have values other
282282than 'auto', the values 'always', 'left', and 'right' take precedence
283283over 'avoid'.
284284
285- <P>These properties only apply to block level elements that
286- are in the normal flow of the root element.
285+ <P>User Agents must apply these properties to block-level elements
286+ in the normal flow of the root element. User agents may also apply
287+ these properties to other elements, e.g., 'table-row' elements.
288+
287289
288290<h3><a name="break-inside">Breaks inside elements</a>: <span
289291class="propinst-orphans">'orphans'</span>, <span
@@ -369,9 +371,9 @@ margin, there is at least one with the value 'always', 'left', or
369371
370372<h3>"Best" page breaks</h3>
371373
372- <p>CSS2 does <em>not</em> define which of a set of allowed page breaks
373- must be used; CSS2 does not forbid a user agent from breaking at every
374- possible break point, or not to break at all. But CSS2 does recommend
374+ <p>CSS 2.1 does <em>not</em> define which of a set of allowed page breaks
375+ must be used; CSS 2.1 does not forbid a user agent from breaking at every
376+ possible break point, or not to break at all. But CSS 2.1 does recommend
375377that user agents observe the following heuristics (while recognizing
376378that they are sometimes contradictory):</p>
377379
@@ -424,7 +426,7 @@ as a block to the next page.
424426<h2>Cascading in the page context</H2>
425427
426428<P>Declarations in the <a href="#page-context">page context</a> obey
427- the <a href="cascade.html">cascade</a> just like normal CSS2
429+ the <a href="cascade.html">cascade</a> just like normal CSS
428430declarations.
429431
430432<div class="example"><P>
0 commit comments