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

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