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

csswg/css3-values Overview.html,1.151,1.152 Overview.src.html,1.154,1.155

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 12 Dec 2011 23:23:06 +0000
To: public-css-commits@w3.org
Message-Id: <E1RaFD8-0000M2-Ih@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv1348

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add 'or else min value' clauses to the other parts of attr().

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- Overview.html	12 Dec 2011 23:20:32 -0000	1.151
+++ Overview.html	12 Dec 2011 23:23:04 -0000	1.152
@@ -1606,10 +1606,12 @@
     class=css>&lt;time></code>&rsquo; or &lsquo;<code
     class=css>&lt;frequency></code>&rsquo; (respectively), and the unit
     identifier (if any) will appear in the attribute value. The default is
-    &lsquo;<code class=css>0</code>&rsquo; in the relevant units. The default
-    should also be used if the property in question only accepts values
-    within a certain range (e.g. positive lengths or angles from 0 to 90deg)
-    and the attribute is out of range (e.g. a negative length or 180deg).
+    &lsquo;<code class=css>0</code>&rsquo; in the relevant units, or else the
+    property's minimum value if &lsquo;<code class=css>0</code>&rsquo; in the
+    relevant units is not valid for the property. The default should also be
+    used if the property in question only accepts values within a certain
+    range (e.g. positive lengths or angles from 0 to 90deg) and the attribute
+    is out of range (e.g. a negative length or 180deg).
 
    <dt>&lsquo;<a href="#em-unit"><code class=css>em</code></a>&rsquo;
 
@@ -1654,7 +1656,9 @@
    <dd>The attribute value will be interpreted as a CSS &lsquo;<code
     class=css>&lt;number></code>&rsquo;, with the given type suffixed as a
     unit. The default is &lsquo;<code class=css>0</code>&rsquo; in the
-    relevant units.
+    relevant units, or else the property's minimum value if &lsquo;<code
+    class=css>0</code>&rsquo; in the relevant units is not valid for the
+    property.
   </dl>
 
   <div class=example>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- Overview.src.html	12 Dec 2011 23:20:32 -0000	1.154
+++ Overview.src.html	12 Dec 2011 23:23:04 -0000	1.155
@@ -1120,7 +1120,7 @@
 		<dd>The attribute value will be interpreted as a CSS ''&lt;length>'',
 		''&lt;angle>'', ''&lt;time>'' or ''&lt;frequency>'' (respectively), and
 		the unit identifier (if any) will appear in the attribute value.
-		The default is ''0'' in the relevant units. The default should also be
+		The default is ''0'' in the relevant units, or else the property's minimum value if ''0'' in the relevant units is not valid for the property. The default should also be
 		used if the property in question only accepts values within a certain
 		range (e.g. positive lengths or angles from 0 to 90deg) and the
 		attribute is out of range (e.g. a negative length or 180deg).
@@ -1147,7 +1147,7 @@
 		<dt>''%''
 		<dd>The attribute value will be interpreted as a CSS ''&lt;number>'', with the given
 		type suffixed as a unit. The default is ''0'' in the relevant
-		units.
+		units, or else the property's minimum value if ''0'' in the relevant units is not valid for the property.
 	</dl>
 
 	<div class="example">
Received on Monday, 12 December 2011 23:23:07 UTC

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