- From: Rossen Atanassov via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 Jan 2012 01:54:48 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-break In directory hutz:/tmp/cvs-serv10059 Modified Files: Overview.html Overview.src.html Log Message: Removing section 3.3 Using named pages: the 'page' prroperty, since this topic is not breaking specifiec and can be defined by the css3-page module. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-break/Overview.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- Overview.html 25 Jan 2012 01:38:00 -0000 1.11 +++ Overview.html 25 Jan 2012 01:54:46 -0000 1.12 @@ -163,10 +163,6 @@ href="#breaks-inside"><span class=secno>3.2. </span> Breaks inside elements: ‘<code class=property>orphans</code>’, ‘<code class=property>widows</code>’</a> - - <li id=using-named-pages-the-page-property-><a - href="#using-named-pages"><span class=secno>3.3. </span> Using named - pages: the ‘<code class=property>page</code>’ property</a> </ul> <li id=rules-for-breaking-4.1.-allowed-page-bre><a @@ -553,8 +549,8 @@ than ‘<code class=css>auto</code>’, the forced break values (‘<code class=css>always</code>’, ‘<code class=css>left</code>’, ‘<code class=css>right</code>’, - ‘<a href="#page"><code class=css>page</code></a>’, - ‘<code class=css>column</code>’ and ‘<code + ‘<code class=css>page</code>’, ‘<code + class=css>column</code>’ and ‘<code class=css>region</code>’) take precedence over the values (‘<code class=css>avoid-page</code>’, ‘<code class=css>avoid-column</code>’ and ‘<code @@ -687,126 +683,6 @@ class=property>orphans</code></a>’, the rule simply becomes that all lines in the block must be kept together. - <h3 id=using-named-pages><span class=secno>3.3. </span> Using named pages: - the ‘<a href="#page"><code class=property>page</code></a>’ - property</h3> - - <table class=propdef summary="property definition"> - <tbody> - <tr> - <th>Name: - - <td><dfn id=page>page</dfn> - - <tr> - <th>Value: - - <td>auto | <identifier> - - <tr> - <th>Initial: - - <td>auto - - <tr> - <th>Applies to: - - <td>block-level elements - - <tr> - <th>Inherited: - - <td>no (but see prose) - - <tr> - <th>Percentages: - - <td>N/A - - <tr> - <th>Media: - - <td>paged - - <tr> - <th>Computed value: - - <td>specified value - </table> - - <p id=the-page-property-is-used-to-specify-a-p> The ‘<a - href="#page"><code class=property>page</code></a>’ property is used - to specify a particular type of page where an element should be displayed. - - - <div class=example> - <p id=this-example-will-put-all-tables-on-a-ri>This example will put all - tables on a right-hand side landscape page (named "rotated"):</p> - - <pre> -<!-- -->@page rotated { size: landscape } -<!-- -->table { page: rotated; page-break-before: right }</pre> - </div> - - <p id=the-page-property-works-as-follows-if-a-> The ‘<a - href="#page"><code class=property>page</code></a>’ property works as - follows: If a block box with inline content has a ‘<a - href="#page"><code class=property>page</code></a>’ property that is - different from the preceding block box with inline content, then one or - two page breaks are inserted between them, and the boxes after the break - are rendered on a page box of the named type. See <a - href="#forced-pg-brk">"Forced page breaks" below</a>. - - <p id=the-page-property-does-not-inherit.-howe> The ‘<a - href="#page"><code class=property>page</code></a>’ property does not - inherit. However, if the ‘<a href="#page"><code - class=property>page</code></a>’ value on an element is ‘<code - class=css>auto</code>’, then it is treated as having the same name - as its nearest ancestor with a non-auto value. When indicated on the root - element, the effective name is the empty string. - - <p id=because-a-previous-version-of-this-speci> Because a previous version - of this specification indicated that the ‘<a href="#page"><code - class=property>page</code></a>’ property is inherited, an - implementation that inherits the ‘<a href="#page"><code - class=property>page</code></a>’ property and treats ‘<code - class=css>auto</code>’ as always naming the empty string remains - conformant to CSS3 Paged Media. Therefore authors should not explicitly - specify the ‘<code class=css>auto</code>’ value on a - descendant of an element with a non-‘<code - class=css>auto</code>’ ‘<a href="#page"><code - class=property>page</code></a>’ value as the resulting behavior will - be unpredictable. - - <p id=page-names-are-case-sensitive-identifier> Page names are - case-sensitive identifiers. However the ‘<code - class=css>auto</code>’ value, being a CSS keyword, is <a - href="http://www.w3.org/TR/CSS21/syndata.html#characters">case-insensitive</a>. - - - <div class=example> - <p id=in-this-example-the-two-tables-are-rende> In this example, the two - tables are rendered on landscape pages (indeed, on the same page, if they - fit). The page type "narrow" is used for the <p> after the second - table, as the page properties for the table element are no longer in - effect:</p> - - <pre> -<!-- -->@page narrow { size: 9cm 18cm } -<!-- -->@page rotated { size: landscape } -<!-- -->div { page: narrow } -<!-- -->table { page: rotated }</pre> - - <p id=with-this-document-> with this document:</p> - - <pre> -<!-- --><div> -<!-- --><table>...</table> -<!-- --><table>...</table> -<!-- --><p>This text is rendered on a 'narrow' page</p> -<!-- --></div></pre> - </div> - <h2 id=breaking-rules><span class=secno>4. </span> Rules for Breaking</h2> <p id=when-a-break-splits-a-box-the-boxs-botto> When a break splits a box, @@ -904,8 +780,8 @@ <p id=a-page-break-must-also-occur-at-1-if-the> A page break must also occur at <a href="#brk-btw-blocks">(1)</a> if the last line box above this - margin and the first one below it do not have the same value for ‘<a - href="#page"><code class=property>page</code></a>’. + margin and the first one below it do not have the same value for + ‘<code class=property>page</code>’. <p id=when-a-forced-page-break-occurs-at-1-the> When a forced page break occurs at <a href="#brk-btw-blocks">(1)</a>, the used values of any @@ -1297,8 +1173,6 @@ <li>orphans, <a href="#orphans" title=orphans><strong>3.2.</strong></a> - <li>page, <a href="#page" title=page><strong>3.3.</strong></a> - <li>pagination, <a href="#pagination" title=pagination><strong>1.</strong></a> @@ -1400,21 +1274,6 @@ <td>visual <tr> - <th><a class=property href="#page">page</a> - - <td>auto | <identifier> - - <td>auto - - <td>block-level elements - - <td>no (but see prose) - - <td>N/A - - <td>paged - - <tr> <th><a class=property href="#widows">widows</a> <td><integer> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-break/Overview.src.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- Overview.src.html 25 Jan 2012 01:38:00 -0000 1.12 +++ Overview.src.html 25 Jan 2012 01:54:46 -0000 1.13 @@ -443,97 +443,6 @@ simply becomes that all lines in the block must be kept together. </p> -<h3 id="using-named-pages"> -Using named pages: the 'page' property</h3> - - <table class="propdef" summary="property definition"> - <tr> - <th>Name: - <td><dfn id="page">page</dfn> - <tr> - <th>Value: - <td>auto | <identifier> - <tr> - <th>Initial: - <td>auto - <tr> - <th>Applies to: - <td>block-level elements - <tr> - <th>Inherited: - <td>no (but see prose) - <tr> - <th>Percentages: - <td>N/A - <tr> - <th>Media: - <td>paged - <tr> - <th>Computed value: - <td>specified value - </table> - - <p> - The 'page' property is used to specify a particular - type of page where an element should be displayed. - </p> - - <div class="example"> - <p>This example will put all tables on a right-hand side landscape page (named "rotated"):</p> - <pre> -<!-- -->@page rotated { size: landscape } -<!-- -->table { page: rotated; page-break-before: right }</pre> - </div> - - <p> - The 'page' property works as follows: If a block box - with inline content has a 'page' property that is - different from the preceding block box with inline content, then one or two page - breaks are inserted between them, and the boxes after the break are rendered on - a page box of the named type. See <a href="#forced-pg-brk">"Forced page breaks" below</a>. - </p> - <p> - The 'page' property does not inherit. However, if the 'page' value on an element - is ''auto'', then it is treated as having the same name as its nearest ancestor - with a non-auto value. When indicated on the root element, the effective name is - the empty string. - </p> - <p> - Because a previous version of this specification indicated that the 'page' property - is inherited, an implementation that inherits the 'page' property and treats ''auto'' - as always naming the empty string remains conformant to CSS3 Paged Media. Therefore - authors should not explicitly specify the ''auto'' value on a descendant of an element - with a non-''auto'' 'page' value as the resulting behavior will be unpredictable. - </p> - - <p> - Page names are case-sensitive identifiers. However the ''auto'' value, being a CSS - keyword, is <a href="http://www.w3.org/TR/CSS21/syndata.html#characters">case-insensitive</a>. - </p> - - <div class="example"> - - <p> - In this example, the two tables are rendered on landscape pages (indeed, on the - same page, if they fit). The page type "narrow" is used for the <p> after - the second table, as the page properties for the table element are no longer in - effect:</p> - <pre> -<!-- -->@page narrow { size: 9cm 18cm } -<!-- -->@page rotated { size: landscape } -<!-- -->div { page: narrow } -<!-- -->table { page: rotated }</pre> - <p> - with this document: - </p> - <pre> -<!-- --><div> -<!-- --><table>...</table> -<!-- --><table>...</table> -<!-- --><p>This text is rendered on a 'narrow' page</p> -<!-- --></div></pre> - </div> - <h2 id="breaking-rules"> Rules for Breaking</h2>
Received on Wednesday, 25 January 2012 01:54:53 UTC