W3C home > Mailing lists > Public > public-css-commits@w3.org > February 2012

csswg/css3-gcpm Overview.src.html,1.208,1.209

From: (wrong string) åkon Wium Lie via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 06 Feb 2012 05:28:05 +0000
To: public-css-commits@w3.org
Message-Id: <E1RuH7V-00058A-8q@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-gcpm
In directory hutz:/tmp/cvs-serv19589

Modified Files:
	Overview.src.html 
Log Message:
adding first-lines()

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -d -r1.208 -r1.209
--- Overview.src.html	5 Feb 2012 23:56:31 -0000	1.208
+++ Overview.src.html	6 Feb 2012 05:28:02 -0000	1.209
@@ -3084,7 +3084,6 @@
   exclude-level: 0.5;
   margin-top: -0.2em;
 }
-
 &lt;p>&lt;span id="dropcaps">Many&lt;/span> instances ...&lt;/p>
     &lt;p>The text ....&lt;/p>
 </pre>
@@ -3435,6 +3434,27 @@
 <p class=issue>This may no longer be needed du to generic page selectors
 -->
 
+<h2>Selecting lines</h2>
+
+<p>The 'first-line' pseudo-element selects the first formatted line of an element. The 'first-lines(n)' pseudo-element selects the first n formatted lines of an element. 
+
+<div class=example>
+<img alt="sample rendering" src=regions.png>
+
+<pre>
+  article { columns: 3 }
+  img, p.lead:first-lines(3) {
+    column-span: 2;
+  }
+
+  &lt;article>
+    &lt;img>
+    &lt;p class=lead>
+    &lt;p>...    &lt;p>...    &lt;p>...    &lt;p>...    &lt;p>...
+  &lt;/article>
+</pre>
+</div>
+
 
 <h2>Conformance</h2>
 
Received on Monday, 6 February 2012 05:28:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:50 UTC