- 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
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 ‘<code class=css><integer></code>’. The default is ‘<code - class=css>0</code>’. 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>’, or else the property's minimum value is + ‘<code class=css>0</code>’ 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>‘<a href="#number"><code class=css>number</code></a>’ <dd>The attribute value will be interpreted as a CSS ‘<code class=css><number></code>’. The default is ‘<code - class=css>0.0</code>’. 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>’, or else the property's minimum value is + ‘<code class=css>0.0</code>’ 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>‘<code class=css>length</code>’ 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 ''<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 ''<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