HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3177[Gecko] [Internet Explorer] [Opera] textarea.textLength (bug 6973)2009-06-02 03:11
@@ -38507,20 +38507,21 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-fe-name">name</span>;
            attribute DOMString <span title="dom-textarea-placeholder">placeholder</span>;
            attribute boolean <span title="dom-textarea-readOnly">readOnly</span>;
            attribute boolean <span title="dom-textarea-required">required</span>;
            attribute unsigned long <span title="dom-textarea-rows">rows</span>;
            attribute DOMString <span title="dom-textarea-wrap">wrap</span>;
 
   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>;
   readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
   boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
   void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 
   readonly attribute <span>NodeList</span> <span title="dom-lfe-labels">labels</span>;
 
   void <span title="dom-textarea/input-select">select</span>();
@@ -38809,20 +38810,25 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
   title="dom-textarea-defaultValue"><code>defaultValue</code></dfn>
   DOM attribute must act like the element's <code>textContent</code>
   DOM attribute.</p>
 
   <p>The <dfn title="dom-textarea-value"><code>value</code></dfn>
   attribute must, on getting, return the element's <span
   title="concept-textarea-raw-value">raw value</span>; on setting, it
   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>
   attributes, and the <code
   title="dom-cva-checkValidatity">checkValidity()</code> and <code
   title="dom-cva-setCustomValidity">setCustomValidity()</code>
   methods, are part of the <span>constraint validation API</span>. The
   <code title="dom-lfe-labels">labels</code> attribute provides a list
   of the element's <code>label</code>s. The <code
   title="dom-textarea/input-select">select()</code>, <code

|