- From: poot <cvsmail@w3.org>
- Date: Wed, 8 Oct 2008 14:08:31 +0900 (JST)
- To: public-html-diffs@w3.org
Set up the infrastructure for <textarea>. (whatwg r2301) maxLength http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-maxlength Insert, and wrap text in, semantic elements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#contenteditable-wrapSemantic default value http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#concept-textarea-defaultvalue 4.10.10 The textarea element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#the-textarea-element readonly http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-readonly maxlength http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-maxlength readOnly http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-readonly rows http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-rows cols http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-cols type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-type value http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-value accept http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-accept 4.10.11 The output element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#the-output-element accept http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-accept cols http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-cols required http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-required defaultValue http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#dom-textarea-defaultvalue HTMLTextAreaElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#htmltextareaelement mutable http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#concept-textarea-mutable wrap http://people.w3.org/mike/diffs/html5/spec/Overview.1.1474.html#attr-textarea-wrap http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1473&r2=1.1474&f=h http://html5.org/tools/web-apps-tracker?from=2300&to=2301 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1473 retrieving revision 1.1474 diff -u -d -r1.1473 -r1.1474 --- Overview.html 8 Oct 2008 00:49:42 -0000 1.1473 +++ Overview.html 8 Oct 2008 05:05:23 -0000 1.1474 @@ -21466,37 +21466,35 @@ <dt>Content model:</dt> <dd>Text.</dd> <dt>Element-specific attributes:</dt> - <dd><code title=attr-textarea-accept>accept</code></dd> + <dd><code title=attr-textarea-accept><a href=#attr-textarea-accept>accept</a></code></dd> <dd><code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code></dd> - <dd><code title=attr-textarea-cols>cols</code></dd> + <dd><code title=attr-textarea-cols><a href=#attr-textarea-cols>cols</a></code></dd> <dd><code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code></dd> <dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd> - <dd><code title=attr-textarea-maxlength>maxlength</code></dd> + <dd><code title=attr-textarea-maxlength><a href=#attr-textarea-maxlength>maxlength</a></code></dd> <dd><code title=attr-fe-name><a href=#attr-fe-name>name</a></code></dd> - <dd><code title=attr-textarea-pattern>pattern</code></dd> - <dd><code title=attr-textarea-readonly>readonly</code></dd> - <dd><code title=attr-textarea-required>required</code></dd> - <dd><code title=attr-textarea-rows>rows</code></dd> - <dd><code title=attr-textarea-wrap>wrap</code></dd> + <dd><code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code></dd> + <dd><code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code></dd> + <dd><code title=attr-textarea-rows><a href=#attr-textarea-rows>rows</a></code></dd> + <dd><code title=attr-textarea-wrap><a href=#attr-textarea-wrap>wrap</a></code></dd> <dt>DOM interface:</dt> <dd> <pre class=idl>interface <dfn id=htmltextareaelement>HTMLTextAreaElement</dfn> : <a href=#htmlelement>HTMLElement</a> { - attribute DOMString <span title=dom-textarea-accept>accept</span>; + attribute DOMString <a href=#dom-textarea-accept title=dom-textarea-accept>accept</a>; attribute boolean <a href=#dom-fe-autofocus title=dom-fe-autofocus>autofocus</a>; - attribute unsigned long <span title=dom-textarea-cols>cols</span>; + attribute unsigned long <a href=#dom-textarea-cols title=dom-textarea-cols>cols</a>; attribute boolean <a href=#dom-fe-disabled title=dom-fe-disabled>disabled</a>; readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-fae-form title=dom-fae-form>form</a>; - attribute long <span title=dom-textarea-maxLength>maxLength</span>; + attribute long <a href=#dom-textarea-maxlength title=dom-textarea-maxLength>maxLength</a>; attribute DOMString <a href=#dom-fe-name title=dom-fe-name>name</a>; - attribute DOMString <span title=dom-textarea-pattern>pattern</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>; + attribute boolean <a href=#dom-textarea-readonly title=dom-textarea-readOnly>readOnly</a>; + attribute boolean <a href=#dom-textarea-required title=dom-textarea-required>required</a>; + attribute unsigned long <a href=#dom-textarea-rows title=dom-textarea-rows>rows</a>; + attribute DOMString <a href=#dom-textarea-wrap title=dom-textarea-wrap>wrap</a>; - 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 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 boolean <a href=#dom-cva-willvalidate title=dom-cva-willValidate>willValidate</a>; readonly attribute <span>ValidityState</span> <a href=#dom-cva-validity title=dom-cva-validity>validity</a>; @@ -21507,19 +21505,47 @@ readonly attribute <span>NodeList</span> <a href=#dom-lfe-labels title=dom-lfe-labels>labels</a>; };</pre> </dd> - </dl><!-- XXX add selectionStart and company --><p class=XXX>...<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to + </dl><!-- XXX add selectionStart and company --><p>The <code><a href=#the-textarea-element>textarea</a></code> element represents a multiline plain + text edit control for the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p class=XXX> ... <dfn id=concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</dfn> + + <p class=XXX> ... <dfn id=attr-textarea-readonly title=attr-textarea-readonly><code>readonly</code></dfn> + <p class=XXX> ... <dfn id=concept-textarea-mutable title=concept-textarea-mutable>mutable</dfn></p><!-- !disabled && !readonly --><p><strong>Constraint validation:</strong> If the <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> attribute is + specified on a <code><a href=#the-textarea-element>textarea</a></code> element, the element is + <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<p class=XXX> ... <dfn id=attr-textarea-maxlength title=attr-textarea-maxlength><code>maxlength</code></dfn> + <p class=XXX> ... <dfn id=attr-textarea-required title=attr-textarea-required><code>required</code></dfn> + + <p class=XXX> ... <dfn id=attr-textarea-accept title=attr-textarea-accept><code>accept</code></dfn> + + <p class=XXX> ... <dfn id=attr-textarea-cols title=attr-textarea-cols><code>cols</code></dfn> + <p class=XXX> ... <dfn id=attr-textarea-rows title=attr-textarea-rows><code>rows</code></dfn> + + <p class=XXX> ... <dfn id=attr-textarea-wrap title=attr-textarea-wrap><code>wrap</code></dfn> + + <p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to explicitly associate the <code><a href=#the-textarea-element>textarea</a></code> element with its <a href=#form-owner>form owner</a>. The <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute represents the element's name. The <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> attribute is used to make the control non-interactive and to prevent its value from being submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> - attribute controls focus.<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> + attribute controls focus.<p>The <dfn id=dom-textarea-accept title=dom-textarea-accept><code>accept</code></dfn>, + <dfn id=dom-textarea-cols title=dom-textarea-cols><code>cols</code></dfn>, <dfn id=dom-textarea-required title=dom-textarea-required><code>required</code></dfn>, <dfn id=dom-textarea-rows title=dom-textarea-rows><code>rows</code></dfn>, and <dfn id=dom-textarea-wrap title=dom-textarea-wrap><code>wrap</code></dfn> attributes must + <a href=#reflect>reflect</a> the respective content attributes of the same + name. The <dfn id=dom-textarea-maxlength title=dom-textarea-maxLength><code>maxLength</code></dfn> DOM + attribute must <a href=#reflect>reflect</a> the <code title=attr-textarea-maxlength><a href=#attr-textarea-maxlength>maxlength</a></code> content attribute. + The <dfn id=dom-textarea-readonly title=dom-textarea-readOnly><code>readOnly</code></dfn> + DOM attribute must <a href=#reflect>reflect</a> the <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> content + attribute.<p>The <dfn id=dom-textarea-type title=dom-textarea-type><code>type</code></dfn> DOM + attribute must return the value "<code title="">textarea</code>".<p>The <dfn id=dom-textarea-defaultvalue title=dom-textarea-defaultValue><code>defaultValue</code></dfn> + DOM attribute must return the element's <a href=#concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</a>; on + setting, it must set the element's <a href=#concept-textarea-defaultvalue title=concept-textarea-defaultValue>default value</a> to the + new value.<p>The <dfn id=dom-textarea-value title=dom-textarea-value><code>value</code></dfn> + attribute must, on getting, return the element's <a href=#concept-fe-value title=concept-fe-value>value</a>; on setting, it must set the + element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the new + value.<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 <code title=dom-lfe-labels><a href=#dom-lfe-labels>labels</a></code> attribute provides a list - of the element's <code><a href=#the-label-element>label</a></code>s.<p><strong>Constraint validation:</strong> If the <code title=attr-textarea-readonly>readonly</code> attribute is - specified on a <code><a href=#the-textarea-element>textarea</a></code> element, the element is - <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<h4 id=the-output-element><span class=secno>4.10.11 </span>The <dfn><code>output</code></dfn> element</h4><dl class=element><dt>Categories</dt> + of the element's <code><a href=#the-label-element>label</a></code>s.<h4 id=the-output-element><span class=secno>4.10.11 </span>The <dfn><code>output</code></dfn> element</h4><dl class=element><dt>Categories</dt> <dd><a href=#phrasing-content-0>Phrasing content</a>.</dd> <dd><a href=#category-listed title=category-listed>Listed</a> and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd> <dt>Contexts in which this element may be used:</dt> @@ -31458,8 +31484,8 @@ attribute; for <code><a href=#the-select-element>select</a></code> elements it means updating the <code><a href=#the-option-element>option</a></code> elements' <code title=dom-option-defaultSelected><a href=#dom-option-defaultselected>defaultSelected</a></code> DOM attribute as well as the <code title=dom-option-selected><a href=#dom-option-selected>selected</a></code> DOM attribute; for - <code><a href=#the-textarea-element>textarea</a></code> elements this means updating the <code title=dom-textarea-defaultValue>defaultValue</code> DOM attribute - as well as the <code title=dom-textarea-value>value</code> DOM + <code><a href=#the-textarea-element>textarea</a></code> elements this means updating the <code title=dom-textarea-defaultValue><a href=#dom-textarea-defaultvalue>defaultValue</a></code> DOM attribute + as well as the <code title=dom-textarea-value><a href=#dom-textarea-value>value</a></code> DOM attribute. (Updating the <code title="">default*</code> DOM attributes causes content attributes to be updated as well.)</dd>
Received on Wednesday, 8 October 2008 05:09:14 UTC