W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/spec Overview.html,1.2330,1.2331

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 02 Jun 2009 03:11:24 +0000
To: public-html-commits@w3.org
Message-Id: <E1MBKPN-0006NY-2P@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv24506

Modified Files:
	Overview.html 
Log Message:
textarea.textLength (bug 6973) (whatwg r3177)

Index: Overview.html
===================================================================
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:11:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 03:11:32 GMT