- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 25 Dec 2011 02:04:51 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-gcpm In directory hutz:/tmp/cvs-serv24002 Modified Files: Overview.html Log Message: x Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-gcpm/Overview.html,v retrieving revision 1.184 retrieving revision 1.185 diff -u -d -r1.184 -r1.185 --- Overview.html 25 Dec 2011 01:45:44 -0000 1.184 +++ Overview.html 25 Dec 2011 02:04:49 -0000 1.185 @@ -3614,6 +3614,41 @@ </article> </pre> </div> + + <div class=example> Consider this markup: + <pre> +<div class=text> +<div lang=en> +Some words in English ... +</div> +<div lang=fr> +Quelques mots en Francaise... +</div> +</div> +</pre> + + <p>Here is the CSS code to lay these out into two columns with different + background colors: + + <pre> +div.text { + columns: 32em; +} + +div:lang(en) { + display: table-cell; + color: black; background: white; +} + +div:lang(fr) { + display: table-cell; + color: white; background: black; +} +</pre> + + <p>This example shows that use cases that first seem to require regions + may be achieved with other methods. + </div> <!-- <div class=example> <pre>
Received on Sunday, 25 December 2011 02:04:52 UTC