[html5] r3177 - [gio] (2) textarea.textLength (bug 6973)

whatwg at whatwg.org whatwg at whatwg.org
Mon Jun 1 20:11:17 PDT 2009


Author: ianh
Date: 2009-06-01 20:11:15 -0700 (Mon, 01 Jun 2009)
New Revision: 3177

Modified:
   index
   source
Log:
[gio] (2) textarea.textLength (bug 6973)

Modified: index
===================================================================
--- index	2009-06-02 03:04:32 UTC (rev 3176)
+++ index	2009-06-02 03:11:15 UTC (rev 3177)
@@ -34429,6 +34429,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>;
@@ -34679,6 +34680,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

Modified: source
===================================================================
--- source	2009-06-02 03:04:32 UTC (rev 3176)
+++ source	2009-06-02 03:11:15 UTC (rev 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>




More information about the Commit-Watchers mailing list