- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 10 Oct 2011 21:05:40 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-gcpm In directory hutz:/tmp/cvs-serv12741 Modified Files: Overview.html Log Message: x Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-gcpm/Overview.html,v retrieving revision 1.133 retrieving revision 1.134 diff -u -d -r1.133 -r1.134 --- Overview.html 10 Oct 2011 21:04:33 -0000 1.133 +++ Overview.html 10 Oct 2011 21:05:38 -0000 1.134 @@ -313,30 +313,30 @@ <li><a href="#styling-blank-pages"><span class=secno>12. </span>Styling blank pages</a> - <li><a href="#page-selection-nth"><span class=secno>13. </span>Page - selection: nth()</a> - - <li><a href="#paged-presentations"><span class=secno>14. </span>Paged + <li><a href="#paged-presentations"><span class=secno>13. </span>Paged presentations</a> - <li><a href="#navigation-between-pages"><span class=secno>15. + <li><a href="#navigation-between-pages"><span class=secno>14. </span>Navigation between pages</a> <ul class=toc> - <li><a href="#page-shift-effects"><span class=secno>15.1. </span>Page + <li><a href="#page-shift-effects"><span class=secno>14.1. </span>Page shift effects</a> </ul> - <li><a href="#page-floats"><span class=secno>16. </span>Page floats</a> + <li><a href="#page-floats"><span class=secno>15. </span>Page floats</a> <ul class=toc> - <li><a href="#float-modifiers"><span class=secno>16.1. </span>Float + <li><a href="#float-modifiers"><span class=secno>15.1. </span>Float modifiers</a> - <li><a href="#floating-inside-and-outside-pages"><span class=secno>16.2. + <li><a href="#floating-inside-and-outside-pages"><span class=secno>15.2. </span>Floating inside and outside pages</a> </ul> <li><a href="#aligning-baselines-in-multi-column-layou"><span - class=secno>17. </span>Aligning baselines in multi-column layouts</a> + class=secno>16. </span>Aligning baselines in multi-column layouts</a> + + <li><a href="#page-selection-nth"><span class=secno>17. </span>Page + selection: nth()</a> <li><a href="#conformance"><span class=secno>18. </span>Conformance</a> @@ -2963,81 +2963,7 @@ edition"</code>. </div> - <h2 id=page-selection-nth><span class=secno>13. </span>Page selection: - nth()</h2> - - <p>In CSS 2.0, <a - href="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and - right pages</a> can be selected. This specification adds support for - selecting the nth page in the document, or the nth named page. - - <div class=example> - <p>This example sets the background color of the second page in the - document: - - <pre> -@page :nth(2) { - background: green; -} -</pre> - - <pre> -</pre> - </div> - - <div class=example> - <p>This example sets the background color of the second page of all - chapters in a document: - - <pre> -@page chapter { - background: yellow; -} -@page chapter:nth(2) { - background: green; -} -div.chapter { - page: chapter; -} -</pre> - - <pre> -</pre> - </div> - - <p>The arguments to the nth() functional notation is the same as for the - <a - href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo">nth-child()</a> - pseudo-class. - - <div class=example> - <pre> -@page chapter:nth(2n+1) { - background: green; -} -</pre> - </div> - - <p>Even when a named page is not defined through an <code>@page - <em>name</em> { .. }</code> construct, the name can still be used with - :nth(). - - <div class=example> - <p>Even when the first line is commented out, the second page of all - chapters in the document will be green. - - <pre> -/* @page chapter { ... } */ - -@page chapter:nth(2) { - background: green; -} - -div.chapter { page: chapter } -</pre> - </div> - - <h2 id=paged-presentations><span class=secno>14. </span>Paged + <h2 id=paged-presentations><span class=secno>13. </span>Paged presentations</h2> <p>Printed publications are paged, while screen-based presentations of web @@ -3104,7 +3030,7 @@ </pre> </div> - <h2 id=navigation-between-pages><span class=secno>15. </span>Navigation + <h2 id=navigation-between-pages><span class=secno>14. </span>Navigation between pages</h2> <p>Paged navigation within a page (as described above), can also be @@ -3206,7 +3132,7 @@ </pre> </div> - <h3 id=page-shift-effects><span class=secno>15.1. </span>Page shift + <h3 id=page-shift-effects><span class=secno>14.1. </span>Page shift effects</h3> <p>To describe page shift effects, four new properties inside @navigation @@ -3243,7 +3169,7 @@ </pre> </div> - <h2 id=page-floats><span class=secno>16. </span>Page floats</h2> + <h2 id=page-floats><span class=secno>15. </span>Page floats</h2> <p>Images and figures are sometimes displayed at the top or bottom of pages and columns. This specificaton adds new keywords on the @@ -3365,7 +3291,7 @@ </pre> </div> - <h3 id=float-modifiers><span class=secno>16.1. </span>Float modifiers</h3> + <h3 id=float-modifiers><span class=secno>15.1. </span>Float modifiers</h3> <p>These new values on ‘<code class=property>float</code>’ can be combined with the other values: @@ -3418,7 +3344,7 @@ This way, the ‘<code class=property>float</code>’ property would only need to take one value. - <h3 id=floating-inside-and-outside-pages><span class=secno>16.2. + <h3 id=floating-inside-and-outside-pages><span class=secno>15.2. </span>Floating inside and outside pages</h3> <p>Two allow content to flow to the inside and outside of a page, these @@ -3445,7 +3371,7 @@ </pre> </div> - <h2 id=aligning-baselines-in-multi-column-layou><span class=secno>17. + <h2 id=aligning-baselines-in-multi-column-layou><span class=secno>16. </span>Aligning baselines in multi-column layouts</h2> <p>In multi-column layouts, baselines are typically aligned between @@ -3490,6 +3416,80 @@ class=property>line-stacking-strategy</code>’ property is <a href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>. + <h2 id=page-selection-nth><span class=secno>17. </span>Page selection: + nth()</h2> + + <p>In CSS 2.0, <a + href="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and + right pages</a> can be selected. This specification adds support for + selecting the nth page in the document, or the nth named page. + + <div class=example> + <p>This example sets the background color of the second page in the + document: + + <pre> +@page :nth(2) { + background: green; +} +</pre> + + <pre> +</pre> + </div> + + <div class=example> + <p>This example sets the background color of the second page of all + chapters in a document: + + <pre> +@page chapter { + background: yellow; +} +@page chapter:nth(2) { + background: green; +} +div.chapter { + page: chapter; +} +</pre> + + <pre> +</pre> + </div> + + <p>The arguments to the nth() functional notation is the same as for the + <a + href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo">nth-child()</a> + pseudo-class. + + <div class=example> + <pre> +@page chapter:nth(2n+1) { + background: green; +} +</pre> + </div> + + <p>Even when a named page is not defined through an <code>@page + <em>name</em> { .. }</code> construct, the name can still be used with + :nth(). + + <div class=example> + <p>Even when the first line is commented out, the second page of all + chapters in the document will be green. + + <pre> +/* @page chapter { ... } */ + +@page chapter:nth(2) { + background: green; +} + +div.chapter { page: chapter } +</pre> + </div> + <h2 id=conformance><span class=secno>18. </span>Conformance</h2> <!--User agents that support hyphenation and support this specification must a-->
Received on Monday, 10 October 2011 21:05:48 UTC