HTML Standard Tracker

Diff (omit for latest revision)
Filter

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

File a bug

SVNBugCommentTime (UTC)
3177[Gecko] [Internet Explorer] [Opera] textarea.textLength (bug 6973)2009-06-02 03:11
Index: source
===================================================================
--- source	(revision 3176)
+++ source	(revision 3177)
@@ -38514,6 +38514,7 @@
   readonly attribute DOMString <span title="dom-textarea-type">type</span>;
            attribute DOMString <span title="dom-textarea-defaultValue">defaultValue</span>;
            attribute DOMString <span title="dom-textarea-value">value</span>;
+  readonly attribute unsigned long <span title="dom-textarea-textLength">textLength</span>;
 
   readonly attribute boolean <span title="dom-cva-willValidate">willValidate</span>;
   readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
@@ -38816,6 +38817,11 @@
   must set the element's <span title="concept-textarea-raw-value">raw
   value</span> to the new value.</p>
 
+  <p>The <dfn
+  title="dom-textarea-textLength"><code>textLength</code></dfn> DOM
+  attribute must return the <span>code-point length</span> of the
+  element's <span title="concept-fe-value">value</span>.</p>
+
   <p>The <code title="dom-cva-willValidate">willValidate</code>, <code
   title="dom-cva-validity">validity</code>, and <code
   title="dom-cva-validationMessage">validationMessage</code>

|