- From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Dec 2011 18:19:35 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-layout In directory hutz:/tmp/cvs-serv20422 Modified Files: Overview.src.html Log Message: Added ISSUE-201: use number in a template to refer directly to a child element. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-layout/Overview.src.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Overview.src.html 1 Dec 2011 14:48:18 -0000 1.9 +++ Overview.src.html 1 Dec 2011 18:19:33 -0000 1.10 @@ -1067,6 +1067,20 @@ add an identifier with a vendor prefix somewhere in the value, e.g., 'position: a -my-product' or 'position: -my-product(a)'. +<p class=issue><a +href="http://www.w3.org/Style/CSS/Tracker/issues/201">ISSUE-201:</a> +Terra Informatica's <a +href="http://www.terrainformatica.com/htmlayout/" >HTMLayout</a> +program proposes an interesting shortcut: if a slot's name is a number +(instead of a letter), it refers directly to the child with that +number. That child is positioned in the slot and doesn't need a +'position' property. See <a +href="http://www.terrainformatica.com/w3/flex-layout/flex-layout.htm" +>the documentation by Andrew Fedoniouk and Ivan Goroun.</a> E.g., +<code><ul style="display: '2 1'"><li>one <li>two +</ul></code> puts “two” on the left and “one” on the right. (Note +that this requires that the names of slots are separated by spaces.) + <table class=propdef-extra> <tr> <td><em>Name:</em>
Received on Thursday, 1 December 2011 18:19:40 UTC