- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 06 Feb 2012 05:28:05 +0000
- To: public-css-commits@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;
}
-
<p><span id="dropcaps">Many</span> instances ...</p>
<p>The text ....</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;
+ }
+
+ <article>
+ <img>
+ <p class=lead>
+ <p>... <p>... <p>... <p>... <p>...
+ </article>
+</pre>
+</div>
+
<h2>Conformance</h2>
Received on Monday, 6 February 2012 05:28:07 UTC