W3C home > Mailing lists > Public > public-css-commits@w3.org > March 2012

csswg/css3-layout new2.src.html,1.6,1.7

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 01 Mar 2012 22:59:43 +0000
To: public-css-commits@w3.org
Message-Id: <E1S3EyN-0005jw-OH@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-layout
In directory hutz:/tmp/cvs-serv22040

Modified Files:
	new2.src.html 
Log Message:
Added issue about shorthand syntax with column sizes first instead of
last. The declaration maybe looks better that way.


Index: new2.src.html
===================================================================
RCS file: /sources/public/csswg/css3-layout/new2.src.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- new2.src.html	1 Mar 2012 20:25:37 -0000	1.6
+++ new2.src.html	1 Mar 2012 22:59:41 -0000	1.7
@@ -743,6 +743,9 @@
 of <var>&lt;row-height&gt;</var> values in 'grid-rows' or the number
 of rows in 'grid-template', whichever is larger.
 
+<p class=note>Note that a grid element always has at least one row and one
+column. Those may, however, have zero size.
+
 <!--=================================================================-->
 
 
@@ -1184,6 +1187,27 @@
 but must be made explicit in the 'grid-rows' property.
 </div>
 
+<div class=issue>
+<p>Does it look better with the column sizes first instead of last?
+There would be no need for a slash:
+
+<blockquote>
+<p>none |  <var>&lt;col-width&gt;</var>* [ <var>&lt;string&gt;</var>
+<var>&lt;row-height&gt;</var>? ]+
+</blockquote>
+
+<p>E.g.:
+
+<pre>
+grid: 5em 1em  *  1em 10em
+      "a   .   b   .   c"  2em
+      ".   .   .   .   ."  1em
+      "d   .   e   .   f"
+      ".   .   .   .   ."  1em
+      "g   .   h   .   i"  2em
+</pre>
+</div>
+
 <!--=================================================================-->
 
 <h3 id=default>Default slots</h3>
@@ -1191,7 +1215,11 @@
 <p>Every <span>grid element</span> has a <dfn>default slot.</dfn> If
 there is an asterisk (“*”) in the template, then that slot is the
 default. If there is no asterisk, then the first letter in the
-template defines the default slot.
+template defines the default slot. If there is no letter either,
+then&hellip;
+
+<p class=issue>&hellip; define where a grid element's content goes if it
+doesn't have any slots at all.
 
 <div class=example>
 <p>For example, if the template is defined by 'grid-template: "..."
Received on Thursday, 1 March 2012 22:59:45 UTC

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