[html5] r7095 - [e] (0) make terminology less confusing Fixing https://www.w3.org/Bugs/Public/sh [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon May 7 17:24:28 PDT 2012


Author: ianh
Date: 2012-05-07 17:24:27 -0700 (Mon, 07 May 2012)
New Revision: 7095

Modified:
   complete.html
   index
   source
Log:
[e] (0) make terminology less confusing
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16990
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-05-07 23:47:22 UTC (rev 7094)
+++ complete.html	2012-05-08 00:24:27 UTC (rev 7095)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 7 May 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 May 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -3440,7 +3440,7 @@
   <p>The term <dfn id=unicode-character>Unicode character</dfn> is used to mean a <i title="">Unicode scalar value</i> (i.e. any Unicode code point that
   is not a surrogate code point). <a href=#refsUNICODE>[UNICODE]</a></p>
 
-  <p>The <dfn id=code-point-length>code-point length</dfn> of a string is the number of
+  <p>The <dfn id=code-unit-length>code-unit length</dfn> of a string is the number of
   <a href=#code-unit title="code unit">code units</a> in that string.</p>
 
   <p class=note>This complexity results from the historical decision
@@ -49753,7 +49753,7 @@
   flag</a></span>.</p>
 
   <p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
-  value length</a>, then the <a href=#code-point-length>code-point length</a> of the
+  value length</a>, then the <a href=#code-unit-length>code-unit length</a> of the
   value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
   attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
   allowed value length</a>.</p>
@@ -51715,7 +51715,7 @@
 
   <p>If the <code><a href=#the-textarea-element>textarea</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
   value length</a>, then the element's children must be such that
-  the <a href=#code-point-length>code-point length</a> of the value of the element's
+  the <a href=#code-unit-length>code-unit length</a> of the value of the element's
   <code><a href=#textcontent>textContent</a></code> IDL attribute is equal to or less than the
   element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>
 
@@ -51822,7 +51822,7 @@
   selection direction to <i>none</i>.</p>
 
   <p>The <dfn id=dom-textarea-textlength title=dom-textarea-textLength><code>textLength</code></dfn> IDL
-  attribute must return the <a href=#code-point-length>code-point length</a> of the
+  attribute must return the <a href=#code-unit-length>code-unit length</a> of the
   element's <a href=#concept-textarea-api-value title=concept-textarea-api-value>API
   value</a>.</p>
 
@@ -53236,12 +53236,12 @@
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>, its <var title="">dirty
   value flag</var> is true, its <a href=#concept-fe-value title=concept-fe-value>value</a> was last changed by a user
   edit (as opposed to a change made by a script), and the
-  <a href=#code-point-length>code-point length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
+  <a href=#code-unit-length>code-unit length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the element is
   <a href=#suffering-from-being-too-long>suffering from being too long</a>.</p>
 
   <p>User agents may prevent the user from causing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to be set to a value whose
-  <a href=#code-point-length>code-point length</a> is greater than the element's
+  <a href=#code-unit-length>code-unit length</a> is greater than the element's
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>
 
   </div>

Modified: index
===================================================================
--- index	2012-05-07 23:47:22 UTC (rev 7094)
+++ index	2012-05-08 00:24:27 UTC (rev 7095)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 7 May 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 May 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -3440,7 +3440,7 @@
   <p>The term <dfn id=unicode-character>Unicode character</dfn> is used to mean a <i title="">Unicode scalar value</i> (i.e. any Unicode code point that
   is not a surrogate code point). <a href=#refsUNICODE>[UNICODE]</a></p>
 
-  <p>The <dfn id=code-point-length>code-point length</dfn> of a string is the number of
+  <p>The <dfn id=code-unit-length>code-unit length</dfn> of a string is the number of
   <a href=#code-unit title="code unit">code units</a> in that string.</p>
 
   <p class=note>This complexity results from the historical decision
@@ -49753,7 +49753,7 @@
   flag</a></span>.</p>
 
   <p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
-  value length</a>, then the <a href=#code-point-length>code-point length</a> of the
+  value length</a>, then the <a href=#code-unit-length>code-unit length</a> of the
   value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
   attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
   allowed value length</a>.</p>
@@ -51715,7 +51715,7 @@
 
   <p>If the <code><a href=#the-textarea-element>textarea</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
   value length</a>, then the element's children must be such that
-  the <a href=#code-point-length>code-point length</a> of the value of the element's
+  the <a href=#code-unit-length>code-unit length</a> of the value of the element's
   <code><a href=#textcontent>textContent</a></code> IDL attribute is equal to or less than the
   element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>
 
@@ -51822,7 +51822,7 @@
   selection direction to <i>none</i>.</p>
 
   <p>The <dfn id=dom-textarea-textlength title=dom-textarea-textLength><code>textLength</code></dfn> IDL
-  attribute must return the <a href=#code-point-length>code-point length</a> of the
+  attribute must return the <a href=#code-unit-length>code-unit length</a> of the
   element's <a href=#concept-textarea-api-value title=concept-textarea-api-value>API
   value</a>.</p>
 
@@ -53236,12 +53236,12 @@
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>, its <var title="">dirty
   value flag</var> is true, its <a href=#concept-fe-value title=concept-fe-value>value</a> was last changed by a user
   edit (as opposed to a change made by a script), and the
-  <a href=#code-point-length>code-point length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
+  <a href=#code-unit-length>code-unit length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the element is
   <a href=#suffering-from-being-too-long>suffering from being too long</a>.</p>
 
   <p>User agents may prevent the user from causing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to be set to a value whose
-  <a href=#code-point-length>code-point length</a> is greater than the element's
+  <a href=#code-unit-length>code-unit length</a> is greater than the element's
   <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>
 
   </div>

Modified: source
===================================================================
--- source	2012-05-07 23:47:22 UTC (rev 7094)
+++ source	2012-05-08 00:24:27 UTC (rev 7095)
@@ -2337,7 +2337,7 @@
   is not a surrogate code point). <a
   href="#refsUNICODE">[UNICODE]</a></p>
 
-  <p>The <dfn>code-point length</dfn> of a string is the number of
+  <p>The <dfn>code-unit length</dfn> of a string is the number of
   <span title="code unit">code units</span> in that string.</p>
 
   <p class="note">This complexity results from the historical decision
@@ -57987,7 +57987,7 @@
   flag</span></span>.</p>
 
   <p>If the <code>input</code> element has a <span>maximum allowed
-  value length</span>, then the <span>code-point length</span> of the
+  value length</span>, then the <span>code-unit length</span> of the
   value of the element's <code title="attr-input-value">value</code>
   attribute must be equal to or less than the element's <span>maximum
   allowed value length</span>.</p>
@@ -60372,7 +60372,7 @@
 
   <p>If the <code>textarea</code> element has a <span>maximum allowed
   value length</span>, then the element's children must be such that
-  the <span>code-point length</span> of the value of the element's
+  the <span>code-unit length</span> of the value of the element's
   <code>textContent</code> IDL attribute is equal to or less than the
   element's <span>maximum allowed value length</span>.</p>
 
@@ -60502,7 +60502,7 @@
 
   <p>The <dfn
   title="dom-textarea-textLength"><code>textLength</code></dfn> IDL
-  attribute must return the <span>code-point length</span> of the
+  attribute must return the <span>code-unit length</span> of the
   element's <span title="concept-textarea-api-value">API
   value</span>.</p>
 
@@ -62139,14 +62139,14 @@
   value flag</var> is true, its <span
   title="concept-fe-value">value</span> was last changed by a user
   edit (as opposed to a change made by a script), and the
-  <span>code-point length</span> of the element's <span
+  <span>code-unit length</span> of the element's <span
   title="concept-fe-value">value</span> is greater than the element's
   <span>maximum allowed value length</span>, then the element is
   <span>suffering from being too long</span>.</p>
 
   <p>User agents may prevent the user from causing the element's <span
   title="concept-fe-value">value</span> to be set to a value whose
-  <span>code-point length</span> is greater than the element's
+  <span>code-unit length</span> is greater than the element's
   <span>maximum allowed value length</span>.</p>
 
   </div>




More information about the Commit-Watchers mailing list