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

csswg/css3-values Overview.html,1.139,1.140 Overview.src.html,1.142,1.143

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 12 Dec 2011 22:22:42 +0000
To: public-css-commits@w3.org
Message-Id: <E1RaEGg-0007NT-Ny@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv28345

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Make the default for attr() use the min value for the prop if 0 isn't valid.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- Overview.html	12 Dec 2011 22:18:45 -0000	1.139
+++ Overview.html	12 Dec 2011 22:22:40 -0000	1.140
@@ -1522,17 +1522,19 @@
 
    <dd>The attribute value will be interpreted as a CSS &lsquo;<code
     class=css>&lt;integer></code>&rsquo;. The default is &lsquo;<code
-    class=css>0</code>&rsquo;. The default should also be used if the
-    property in question only accepts integers within a certain range and the
-    attribute is out of range.
+    class=css>0</code>&rsquo;, or else the property's minimum value is
+    &lsquo;<code class=css>0</code>&rsquo; is not valid for the property. The
+    default should also be used if the property in question only accepts
+    integers within a certain range and the attribute is out of range.
 
    <dt>&lsquo;<a href="#number"><code class=css>number</code></a>&rsquo;
 
    <dd>The attribute value will be interpreted as a CSS &lsquo;<code
     class=css>&lt;number></code>&rsquo;. The default is &lsquo;<code
-    class=css>0.0</code>&rsquo;. The default should also be used if the
-    property in question only accepts numbers within a certain range and the
-    attribute is out of range.
+    class=css>0.0</code>&rsquo;, or else the property's minimum value is
+    &lsquo;<code class=css>0.0</code>&rsquo; is not valid for the property.
+    The default should also be used if the property in question only accepts
+    numbers within a certain range and the attribute is out of range.
 
    <dt>&lsquo;<code class=css>length</code>&rsquo;
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- Overview.src.html	12 Dec 2011 22:18:45 -0000	1.142
+++ Overview.src.html	12 Dec 2011 22:22:40 -0000	1.143
@@ -1079,13 +1079,13 @@
 
 		<dt>''integer''
 		<dd>The attribute value will be interpreted as a CSS ''&lt;integer>''.
-		The default is ''0''. The default should also be used if the property
+		The default is ''0'', or else the property's minimum value is ''0'' is not valid for the property. The default should also be used if the property
 		in question only accepts integers within a certain range and
 		the attribute is out of range.
 
 		<dt>''number''
 		<dd>The attribute value will be interpreted as a CSS ''&lt;number>''.
-		The default is ''0.0''. The default should also be used if the
+		The default is ''0.0'', or else the property's minimum value is ''0.0'' is not valid for the property. The default should also be used if the
 		property in question only accepts numbers within a certain
 		range and the attribute is out of range.
 
Received on Monday, 12 December 2011 22:24:45 UTC

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