textarea.textLength (bug 6973) (whatwg r3177)

textarea.textLength (bug 6973) (whatwg r3177)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6973

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2331.html#dom-textarea-value
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2331.html#dom-textarea-textlength
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2331.html#htmltextareaelement

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2330&r2=1.2331&f=h
http://html5.org/tools/web-apps-tracker?from=3176&to=3177

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2330
retrieving revision 1.2331
diff -u -d -r1.2330 -r1.2331
--- Overview.html 2 Jun 2009 03:04:37 -0000 1.2330
+++ Overview.html 2 Jun 2009 03:11:21 -0000 1.2331
@@ -30537,6 +30537,7 @@
   readonly attribute DOMString <a href="#dom-textarea-type" title="dom-textarea-type">type</a>;
            attribute DOMString <a href="#dom-textarea-defaultvalue" title="dom-textarea-defaultValue">defaultValue</a>;
            attribute DOMString <a href="#dom-textarea-value" title="dom-textarea-value">value</a>;
+  readonly attribute unsigned long <a href="#dom-textarea-textlength" title="dom-textarea-textLength">textLength</a>;
 
   readonly attribute boolean <a href="#dom-cva-willvalidate" title="dom-cva-willValidate">willValidate</a>;
   readonly attribute <a href="#validitystate">ValidityState</a> <a href="#dom-cva-validity" title="dom-cva-validity">validity</a>;
@@ -30745,6 +30746,10 @@
   must set the element's <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw
   value</a> to the new value.</p>
 
+  <p>The <dfn id="dom-textarea-textlength" title="dom-textarea-textLength"><code>textLength</code></dfn> DOM
+  attribute must return 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>.</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>
   methods, are part of the <a href="#the-constraint-validation-api">constraint validation API</a>. The

Received on Tuesday, 2 June 2009 03:13:26 UTC