HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7095

SVNBugCommentTime (UTC)
709516990make terminology less confusing2012-05-08 00:24
Index: source
===================================================================
--- source	(revision 7094)
+++ source	(revision 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>

|