csswg/css3-gcpm Overview.src.html,1.138,1.139

Update of /sources/public/csswg/css3-gcpm
In directory hutz:/tmp/cvs-serv12708

Modified Files:
	Overview.src.html 
Log Message:
moving one section

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- Overview.src.html	10 Oct 2011 21:04:26 -0000	1.138
+++ Overview.src.html	10 Oct 2011 21:05:30 -0000	1.139
@@ -2401,63 +2401,6 @@
 </div>
 
 
-<h2>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>
-</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>
-</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>Paged presentations</h2>
 
 <p>Printed publications are paged, while screen-based presentations of web pages are most often presented in a continous manner with a scrollbar on the side. There are reasons to believe that screen-based presentations also could benefit from using paged presentations. There is nothing in web specifications that prevent browsers from adding a page-based mode today. However, most web content is authored and styled with a continous presentation in mind. This could change if it becomes possible to describe paged presentations in style sheets. This section is an attempt to do so.
@@ -2884,6 +2827,63 @@
 
 
 
+<h2>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>
+</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>
+</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>Conformance</h2>
 
 <!--User agents that support hyphenation and support this specification must a-->

Received on Monday, 10 October 2011 21:05:38 UTC