Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[gio] (2) textarea.textLength (bug 6973)
Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions .
+5
−0
index
+6
−0
source
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>;
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
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>;
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>
Toggle all file notes