- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 31 Oct 2011 18:53:25 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-gcpm In directory hutz:/tmp/cvs-serv19923 Modified Files: Overview.src.html Log Message: refining page/column selection Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v retrieving revision 1.160 retrieving revision 1.161 diff -u -d -r1.160 -r1.161 --- Overview.src.html 31 Oct 2011 14:46:50 -0000 1.160 +++ Overview.src.html 31 Oct 2011 18:53:23 -0000 1.161 @@ -2898,6 +2898,8 @@ <h2>Selecting columns and pages</h2> +<p class=issue>This is sketchy. + <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)' @@ -2905,9 +2907,11 @@ <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 */ +div.chapter::column(3) /* the third column of the element */ +div.chapter::column(2n) /* all even columns of the element */ +div.chapter::page(2) /* second page of the element */ +div.chapter::page-column(2,2) /* second column on second page */ +div.chapter::page(2)::column(2) /* second column, but only if it appears on the second page */ </pre> </div>
Received on Monday, 31 October 2011 18:55:30 UTC