- From: poot <cvsmail@w3.org>
- Date: Sun, 25 Oct 2009 17:24:20 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Change 'positive' to 'non-negative' in a few more cases. (whatwg r4330) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3465&r2=1.3466&f=h http://html5.org/tools/web-apps-tracker?from=4329&to=4330 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3465 retrieving revision 1.3466 diff -u -d -r1.3465 -r1.3466 --- Overview.html 25 Oct 2009 07:18:04 -0000 1.3465 +++ Overview.html 25 Oct 2009 08:23:59 -0000 1.3466 @@ -4831,7 +4831,7 @@ the new content attribute value.</p> <p>If a reflecting IDL attribute is a signed integer type - (<code>long</code>) that is <dfn id="limited-to-only-positive-numbers">limited to only positive + (<code>long</code>) that is <dfn id="limited-to-only-non-negative-numbers">limited to only non-negative numbers</dfn> then, on getting, the content attribute must be parsed according to the <a href="#rules-for-parsing-non-negative-integers">rules for parsing non-negative integers</a>, and if that is successful, and the value is in the @@ -4859,20 +4859,21 @@ new content attribute value.</p> <p>If a reflecting IDL attribute is an unsigned integer type - (<code>unsigned long</code>) that is <dfn id="limited-to-only-positive-non-zero-numbers">limited to only positive - non-zero numbers</dfn>, then the behavior is similar to the previous - case, but zero is not allowed. On getting, the content attribute - must first be parsed according to the <a href="#rules-for-parsing-non-negative-integers">rules for parsing - non-negative integers</a>, and if that is successful, and the - value is in the range of the IDL attribute's type, the resulting - value must be returned. If, on the other hand, it fails or returns - an out of range value, or if the attribute is absent, the default - value must be returned instead, or 1 if there is no default - value. On setting, if the value is zero, the user agent must fire an - <code><a href="#index_size_err">INDEX_SIZE_ERR</a></code> exception. Otherwise, the given value - must be converted to the shortest possible string representing the - number as a <a href="#valid-non-negative-integer">valid non-negative integer</a> and then that - string must be used as the new content attribute value.</p> + (<code>unsigned long</code>) that is <dfn id="limited-to-only-non-negative-numbers-greater-than-zero">limited to only + non-negative numbers greater than zero</dfn>, then the behavior is + similar to the previous case, but zero is not allowed. On getting, + the content attribute must first be parsed according to the + <a href="#rules-for-parsing-non-negative-integers">rules for parsing non-negative integers</a>, and if that is + successful, and the value is in the range of the IDL attribute's + type, the resulting value must be returned. If, on the other hand, + it fails or returns an out of range value, or if the attribute is + absent, the default value must be returned instead, or 1 if there is + no default value. On setting, if the value is zero, the user agent + must fire an <code><a href="#index_size_err">INDEX_SIZE_ERR</a></code> exception. Otherwise, the + given value must be converted to the shortest possible string + representing the number as a <a href="#valid-non-negative-integer">valid non-negative integer</a> + and then that string must be used as the new content attribute + value.</p> <p>If a reflecting IDL attribute is a floating point number type (<code>float</code>), then, on getting, the content attribute must @@ -25600,8 +25601,8 @@ <p>The <dfn id="dom-colgroup-span" title="dom-colgroup-span"><code>span</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the content attribute of the - same name. The value must be <a href="#limited-to-only-positive-non-zero-numbers">limited to only positive non-zero - numbers</a>.</p> + same name. The value must be <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative + numbers greater than zero</a>.</p> </div><h4 id="the-col-element"><span class="secno">4.9.4 </span>The <dfn><code>col</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt> <dd>None.</dd> @@ -25633,8 +25634,8 @@ <p>The <dfn id="dom-col-span" title="dom-col-span"><code>span</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the content attribute of the - same name. The value must be <a href="#limited-to-only-positive-non-zero-numbers">limited to only positive non-zero - numbers</a>.</p> + same name. The value must be <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative + numbers greater than zero</a>.</p> </div><h4 id="the-tbody-element"><span class="secno">4.9.5 </span>The <dfn><code>tbody</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt> <dd>None.</dd> @@ -26086,8 +26087,8 @@ <p>The <dfn id="dom-tdth-colspan" title="dom-tdth-colSpan"><code>colSpan</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the content attribute of the - same name. The value must be <a href="#limited-to-only-positive-non-zero-numbers">limited to only positive non-zero - numbers</a>.</p> + same name. The value must be <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative + numbers greater than zero</a>.</p> <p>The <dfn id="dom-tdth-rowspan" title="dom-tdth-rowSpan"><code>rowSpan</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the content attribute of the @@ -29141,7 +29142,7 @@ <a href="#reflect">reflect</a> the respective content attributes of the same name. The <dfn id="dom-input-maxlength" title="dom-input-maxLength"><code>maxLength</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> content attribute, - <a href="#limited-to-only-positive-numbers">limited to only positive numbers</a>. The <dfn id="dom-input-readonly" title="dom-input-readOnly"><code>readOnly</code></dfn> IDL attribute + <a href="#limited-to-only-non-negative-numbers">limited to only non-negative numbers</a>. The <dfn id="dom-input-readonly" title="dom-input-readOnly"><code>readOnly</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-input-readonly"><a href="#attr-input-readonly">readonly</a></code> content attribute. The <dfn id="dom-input-defaultchecked" title="dom-input-defaultChecked"><code>defaultChecked</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-input-checked"><a href="#attr-input-checked">checked</a></code> content attribute. The @@ -31722,7 +31723,8 @@ ensure that at least that many characters are visible.</p> <p>The <code title="dom-input-size"><a href="#dom-input-size">size</a></code> IDL attribute is - <a href="#limited-to-only-positive-non-zero-numbers">limited to only positive non-zero numbers</a>.</p> + <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative numbers greater than + zero</a>.</p> </div><h6 id="the-required-attribute"><span class="secno">4.10.5.2.5 </span>The <code title="attr-input-required"><a href="#attr-input-required">required</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-required" title="attr-input-required"><code>required</code></dfn> attribute is a <a href="#boolean-attribute">boolean attribute</a>. When specified, the @@ -32790,8 +32792,8 @@ <p>The <dfn id="dom-select-multiple" title="dom-select-multiple"><code>multiple</code></dfn> and <dfn id="dom-select-size" title="dom-select-size"><code>size</code></dfn> IDL attributes must <a href="#reflect">reflect</a> the respective content - attributes of the same name. The <code title="dom-select-size"><a href="#dom-select-size">size</a></code> IDL attribute <a href="#limited-to-only-positive-non-zero-numbers">limited to - only positive non-zero numbers</a>.</p> + attributes of the same name. The <code title="dom-select-size"><a href="#dom-select-size">size</a></code> IDL attribute <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited to + only non-negative numbers greater than zero</a>.</p> <p>The <code title="dom-cva-willValidate"><a href="#dom-cva-willvalidate">willValidate</a></code>, <code title="dom-cva-validity"><a href="#dom-cva-validity">validity</a></code>, and <code title="dom-cva-validationMessage"><a href="#dom-cva-validationmessage">validationMessage</a></code> attributes, and the <code title="dom-cva-checkValidatity"><a href="#dom-cva-checkvalidatity">checkValidity()</a></code> and <code title="dom-cva-setCustomValidity"><a href="#dom-cva-setcustomvalidity">setCustomValidity()</a></code> @@ -33356,10 +33358,10 @@ <p>The <dfn id="dom-textarea-cols" title="dom-textarea-cols"><code>cols</code></dfn>, <dfn id="dom-textarea-placeholder" title="dom-textarea-placeholder"><code>placeholder</code></dfn>, <dfn id="dom-textarea-required" title="dom-textarea-required"><code>required</code></dfn>, <dfn id="dom-textarea-rows" title="dom-textarea-rows"><code>rows</code></dfn>, and <dfn id="dom-textarea-wrap" title="dom-textarea-wrap"><code>wrap</code></dfn> attributes must <a href="#reflect">reflect</a> the respective content attributes of the same - name. The <code title="dom-textarea-cols"><a href="#dom-textarea-cols">cols</a></code> and <code title="dom-textarea-rows"><a href="#dom-textarea-rows">rows</a></code> attributes are <a href="#limited-to-only-positive-non-zero-numbers">limited - to only positive non-zero numbers</a>. The <dfn id="dom-textarea-maxlength" title="dom-textarea-maxLength"><code>maxLength</code></dfn> IDL + name. The <code title="dom-textarea-cols"><a href="#dom-textarea-cols">cols</a></code> and <code title="dom-textarea-rows"><a href="#dom-textarea-rows">rows</a></code> attributes are <a href="#limited-to-only-non-negative-numbers-greater-than-zero">limited + to only non-negative numbers greater than zero</a>. The <dfn id="dom-textarea-maxlength" title="dom-textarea-maxLength"><code>maxLength</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-textarea-maxlength"><a href="#attr-textarea-maxlength">maxlength</a></code> content attribute, - <a href="#limited-to-only-positive-numbers">limited to only positive numbers</a>. The <dfn id="dom-textarea-readonly" title="dom-textarea-readOnly"><code>readOnly</code></dfn> IDL + <a href="#limited-to-only-non-negative-numbers">limited to only non-negative numbers</a>. The <dfn id="dom-textarea-readonly" title="dom-textarea-readOnly"><code>readOnly</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-textarea-readonly"><a href="#attr-textarea-readonly">readonly</a></code> content attribute.</p>
Received on Sunday, 25 October 2009 08:24:50 UTC