W3C home > Mailing lists > Public > public-css-commits@w3.org > December 2011

csswg/css3-layout Overview.src.html,1.9,1.10

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 01 Dec 2011 18:19:35 +0000
To: public-css-commits@w3.org
Message-Id: <E1RWBEN-0005Jg-OJ@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-layout
In directory hutz:/tmp/cvs-serv20422

Modified Files:
Log Message:
Added ISSUE-201: use number in a template to refer directly to a child

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
+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
+>the documentation by Andrew Fedoniouk and Ivan Goroun.</a> E.g.,
+<code>&lt;ul style="display: '2 1'">&lt;li>one &lt;li>two
+&lt;/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>
Received on Thursday, 1 December 2011 18:19:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC