Browse files

[gio] (2) textarea.textLength (bug 6973)

git-svn-id: http://svn.whatwg.org/webapps@3177 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent a0643b8 commit 5bc2898642c74f8d11901168bc8f2f062f3e3f16 @Hixie Hixie committed Jun 2, 2009
Showing with 11 additions and 0 deletions.
  1. +5 −0 index
  2. +6 −0 source
View
5 index
@@ -34429,6 +34429,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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
View
6 source
@@ -38514,6 +38514,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</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>;
@@ -38816,6 +38817,11 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>

0 comments on commit 5bc2898

Please sign in to comment.