W3C home > Mailing lists > Public > public-css-commits@w3.org > October 2011

csswg/css3-gcpm Overview.src.html,1.159,1.160

From: (wrong string) åkon Wium Lie via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 31 Oct 2011 14:46:52 +0000
To: public-css-commits@w3.org
Message-Id: <E1RKt8W-0001lM-M0@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-gcpm
In directory hutz:/tmp/cvs-serv6762

Modified Files:
	Overview.src.html 
Log Message:
generalisin first-page selecto

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- Overview.src.html	31 Oct 2011 06:30:22 -0000	1.159
+++ Overview.src.html	31 Oct 2011 14:46:50 -0000	1.160
@@ -62,8 +62,8 @@
 moved in the final presentation of the document. Along with two other
 CSS3 modules &ndash; multi-column layout and paged media &ndash; this
 module offers advanced functionality for presenting structured
-documents on paged media. This specification only applies to the
-'print' media type. 
+documents on paged media. Paged media can be printed, or presented on
+screens.
 
 
 <h2 class="no-num no-toc">Status of this document</h2>
@@ -88,13 +88,13 @@
 <p>(This section is not normative.)
 
 <p>This specification describes features often used in printed
-publications. Some of the proposed functionality (e.g., the new list style types, and border segments) may also
-used with other media types. However, this specification is only
-concerned with the 'print' media type.
+publications. Some of the proposed functionality (e.g., the new list
+style types, and border segments) may also used with other media
+types. However, this specification is monstly concerned with paged media.
 
 <h2>Running headers and footers</h2>
 
-To aid navigation in printed material, headers and footers are often
+<p>To aid navigation in printed material, headers and footers are often
 printed in the page margins. [[CSS3PAGE]] describes how to place
 headers and footers on a page, but not how to fetch headers and
 footers from elements in the document. This specification offers two
@@ -2852,23 +2852,16 @@
 <p class=note>A similar idea &mdash; 'line-stacking-strategy: grid-height' &mdash; was proposed in a <a href="http://www.w3.org/TR/css3-linebox/#line-stacking-strategy">previous version of the CSS3 line module</a>. The 'line-stacking-strategy' property is <a href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>.
 -->
 
-<h2>The 'first-page' pseudo-element</h2>
+
 
 <!--
-<p>The 'first-page' pseudo-element selects the content of an element
-which appears on the first page the element appears on. If the
-element only appears on one page, all the content of the element is
-selected.
--->
-<!--
-<p>The 'first-page' pseudo-element is used to apply styling to the
-part of an element that ends up on the page where the element first
-appears when formatted. The following properties apply to :first-page
-pseudo-elements: column properties, background properties, margin
-properties, border properties, and padding properties. UAs may apply
-other properties as well.
+   div.chapter:columns-page(1) { } 
 -->
 
+
+<h2>The 'first-page' pseudo-element</h2>
+
+
 <p>The 'first-page' pseudo-element is used to apply styling to the
 part of an element that ends up on the starting page for that element.
 If the whole element appears on the starting page, 'first-page'
@@ -2902,6 +2895,22 @@
 </div>
 
 
+
+<h2>Selecting columns and pages</h2>
+
+<p>Pseudo-elements are introduced to apply styling to the part of an
+element that ends up on a certain page of column of that element. The
+'column(n)' pseudo-element selects columns, and the 'page(n)'
+psedo-element select columns.
+
+<div class=example>
+<pre>
+div.chapter:column(3)           /* the third column of the element */
+div.chapter:column(2n)          /* all even columns */
+div.chapter:column(1):page(2)   /* first column on page 2 */
+</pre>
+</div>
+
 <!--
 
 <h2>Page selection: nth()</h2>
Received on Monday, 31 October 2011 14:48:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 October 2011 14:48:59 GMT