[html5] r2197 - [] (0) WF2: Fill in the various <input> element's attribute definitions (but not [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 16 14:52:53 PDT 2008
Author: ianh
Date: 2008-09-16 14:52:52 -0700 (Tue, 16 Sep 2008)
New Revision: 2197
Modified:
index
source
Log:
[] (0) WF2: Fill in the various <input> element's attribute definitions (but not with actual definitions yet).
Modified: index
===================================================================
--- index 2008-09-16 21:28:42 UTC (rev 2196)
+++ index 2008-09-16 21:52:52 UTC (rev 2197)
@@ -13182,7 +13182,7 @@
<dd><code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>
- <dd><code title=attr-hyperlink-type><a href="#type22">type</a></code>
+ <dd><code title=attr-hyperlink-type><a href="#type23">type</a></code>
<dt>DOM interface:
@@ -13218,7 +13218,7 @@
href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a
href="#media14">media</a></code>, <code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>, and <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attributes
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attributes
must be omitted if the <code title=attr-hyperlink-href><a
href="#href6">href</a></code> attribute is not present.
@@ -13247,7 +13247,7 @@
href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a
href="#media14">media</a></code>, <code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>, and <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attributes may
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attributes may
be used to indicate to the user the likely nature of the target resource
before the user follows the link.
@@ -24116,7 +24116,7 @@
<dd><code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>
- <dd><code title=attr-hyperlink-type><a href="#type22">type</a></code>
+ <dd><code title=attr-hyperlink-type><a href="#type23">type</a></code>
<dt>DOM interface:
@@ -24292,7 +24292,7 @@
href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a
href="#media14">media</a></code>, <code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>, and <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attributes may
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attributes may
be used to indicate to the user the likely nature of the target resource
before the user follows the link.
@@ -24302,7 +24302,7 @@
href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a
href="#media14">media</a></code>, <code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>, and <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attributes
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attributes
must be omitted if the <code title=attr-hyperlink-href><a
href="#href6">href</a></code> attribute is not present.
@@ -27039,17 +27039,19 @@
<dt>Element-specific attributes:
- <dd><code title=attr-input-accept>accept</code>
+ <dd><code title=attr-input-accept><a href="#accept">accept</a></code>
<dd><code title=attr-fs-action><a href="#action">action</a></code>
- <dd><code title=attr-input-alt>alt</code>
+ <dd><code title=attr-input-alt><a href="#alt4">alt</a></code>
- <dd><code title=attr-input-autocomplete>autocomplete</code>
+ <dd><code title=attr-input-autocomplete><a
+ href="#autocomplete">autocomplete</a></code>
- <dd><code title=attr-input-autofocus>autofocus</code>
+ <dd><code title=attr-input-autofocus><a
+ href="#autofocus">autofocus</a></code>
- <dd><code title=attr-input-checked>checked</code>
+ <dd><code title=attr-input-checked><a href="#checked">checked</a></code>
<dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
@@ -27057,73 +27059,77 @@
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
- <dd><code title=attr-input-inputmode>inputmode</code>
+ <dd><code title=attr-input-inputmode><a
+ href="#inputmode">inputmode</a></code>
- <dd><code title=attr-input-list>list</code>
+ <dd><code title=attr-input-list><a href="#list">list</a></code>
- <dd><code title=attr-input-max>max</code>
+ <dd><code title=attr-input-max><a href="#max3">max</a></code>
- <dd><code title=attr-input-maxlength>maxlength</code>
+ <dd><code title=attr-input-maxlength><a
+ href="#maxlength">maxlength</a></code>
<dd><code title=attr-fs-method><a href="#method">method</a></code>
- <dd><code title=attr-input-min>min</code>
+ <dd><code title=attr-input-min><a href="#min1">min</a></code>
<dd><code title=attr-fe-name><a href="#name11">name</a></code>
- <dd><code title=attr-input-pattern>pattern</code>
+ <dd><code title=attr-input-pattern><a href="#pattern">pattern</a></code>
- <dd><code title=attr-input-readonly>readonly</code>
+ <dd><code title=attr-input-readonly><a
+ href="#readonly">readonly</a></code>
- <dd><code title=attr-input-required>required</code>
+ <dd><code title=attr-input-required><a
+ href="#required">required</a></code>
- <dd><code title=attr-input-size>size</code>
+ <dd><code title=attr-input-size><a href="#size">size</a></code>
- <dd><code title=attr-input-src>src</code>
+ <dd><code title=attr-input-src><a href="#src9">src</a></code>
- <dd><code title=attr-input-step>step</code>
+ <dd><code title=attr-input-step><a href="#step">step</a></code>
<dd><code title=attr-fs-target><a href="#target3">target</a></code>
<dd><code title=attr-input-type><a href="#type12">type</a></code>
- <dd><code title=attr-input-value>value</code>
+ <dd><code title=attr-input-value><a href="#value7">value</a></code>
<dt>DOM interface:
<dd>
<pre
class=idl>interface <dfn id=htmlinputelement>HTMLInputElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <span title=dom-input-accept>accept</span>;
+ attribute DOMString <a href="#accept0" title=dom-input-accept>accept</a>;
attribute DOMString <a href="#action0" title=dom-fs-action>action</a>;
- attribute DOMString <span title=dom-input-alt>alt</span>;
- attribute boolean <span title=dom-input-autocomplete>autocomplete</span>;
- attribute boolean <span title=dom-input-autofocus>autofocus</span>;
- attribute boolean <span title=dom-input-defaultChecked>defaultChecked</span>;
- attribute boolean <span title=dom-input-checked>checked</span>;
+ attribute DOMString <a href="#alt5" title=dom-input-alt>alt</a>;
+ attribute boolean <a href="#autocomplete0" title=dom-input-autocomplete>autocomplete</a>;
+ attribute boolean <a href="#autofocus0" title=dom-input-autofocus>autofocus</a>;
+ attribute boolean <a href="#defaultchecked" title=dom-input-defaultChecked>defaultChecked</a>;
+ attribute boolean <a href="#checked0" title=dom-input-checked>checked</a>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
attribute DOMString <a href="#enctype0" title=dom-fs-enctype>enctype</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
- attribute DOMString <span title=dom-input-inputmode>inputmode</span>;
- readonly attribute <a href="#htmlelement">HTMLElement</a> <span title=dom-input-list>list</span>;
- attribute DOMString <span title=dom-input-max>max</span>;
- attribute long <span title=dom-input-maxLength>maxLength</span>;
+ attribute DOMString <a href="#inputmode0" title=dom-input-inputmode>inputmode</a>;
+ readonly attribute <a href="#htmlelement">HTMLElement</a> <a href="#list0" title=dom-input-list>list</a>;
+ attribute DOMString <a href="#max4" title=dom-input-max>max</a>;
+ attribute long <a href="#maxlength0" title=dom-input-maxLength>maxLength</a>;
attribute DOMString <a href="#method0" title=dom-fs-method>method</a>;
- attribute DOMString <span title=dom-input-min>min</span>;
+ attribute DOMString <a href="#min2" title=dom-input-min>min</a>;
attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
- attribute DOMString <span title=dom-input-pattern>pattern</span>;
- attribute boolean <span title=dom-input-readOnly>readOnly</span>;
- attribute boolean <span title=dom-input-required>required</span>;
- attribute unsigned long <span title=dom-input-size>size</span>;
- attribute DOMString <span title=dom-input-src>src</span>;
- attribute DOMString <span title=dom-input-step>step</span>;
+ attribute DOMString <a href="#pattern0" title=dom-input-pattern>pattern</a>;
+ attribute boolean <a href="#readonly0" title=dom-input-readOnly>readOnly</a>;
+ attribute boolean <a href="#required0" title=dom-input-required>required</a>;
+ attribute unsigned long <a href="#size0" title=dom-input-size>size</a>;
+ attribute DOMString <a href="#src10" title=dom-input-src>src</a>;
+ attribute DOMString <a href="#step0" title=dom-input-step>step</a>;
attribute DOMString <a href="#target4" title=dom-fs-target>target</a>;
- attribute DOMString <span title=dom-input-type>type</span>;
- attribute DOMString <span title=dom-input-defaultValue>defaultValue</span>;
- attribute DOMString <span title=dom-input-value>value</span>;
- attribute DOMTimeStamp <span title=dom-input-valueAsDate>valueAsDate</span>;
- attribute float <span title=dom-input-valueAsNumber>valueAsNumber</span>;
- readonly attribute <a href="#htmloptionelement">HTMLOptionElement</a> <span title=dom-input-selectedOption>selectedOption</span>;
+ attribute DOMString <a href="#type13" title=dom-input-type>type</a>;
+ attribute DOMString <a href="#defaultvalue" title=dom-input-defaultValue>defaultValue</a>;
+ attribute DOMString <a href="#value8" title=dom-input-value>value</a>;
+ attribute DOMTimeStamp <a href="#valueasdate" title=dom-input-valueAsDate>valueAsDate</a>;
+ attribute float <a href="#valueasnumber" title=dom-input-valueAsNumber>valueAsNumber</a>;
+ readonly attribute <a href="#htmloptionelement">HTMLOptionElement</a> <a href="#selectedoption" title=dom-input-selectedOption>selectedOption</a>;
readonly attribute <span>NodeList</span> <a href="#labels" title=dom-lfe-labels>labels</a>;
@@ -27383,6 +27389,92 @@
href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
href="#name11">name</a></code> attribute represents the element's name.
+ <p class=big-issue>... <dfn id=autofocus
+ title=attr-input-autofocus><code>autofocus</code></dfn>
+
+ <p class=big-issue>... <code title=attr-fe-disabled><a
+ href="#disabled5">disabled</a></code>
+
+ <p>The semantics and processing rules of the <dfn id=accept
+ title=attr-input-accept><code>accept</code></dfn>, <dfn id=alt4
+ title=attr-input-alt><code>alt</code></dfn>, <dfn id=autocomplete
+ title=attr-input-autocomplete><code>autocomplete</code></dfn>, <dfn
+ id=checked title=attr-input-checked><code>checked</code></dfn>, <dfn
+ id=inputmode title=attr-input-inputmode><code>inputmode</code></dfn>, <dfn
+ id=list title=attr-input-list><code>list</code></dfn>, <dfn id=max3
+ title=attr-input-max><code>max</code></dfn>, <dfn id=maxlength
+ title=attr-input-maxlength><code>maxlength</code></dfn>, <dfn id=min1
+ title=attr-input-min><code>min</code></dfn>, <dfn id=pattern
+ title=attr-input-pattern><code>pattern</code></dfn>, <dfn id=readonly
+ title=attr-input-readonly><code>readonly</code></dfn>, <dfn id=required
+ title=attr-input-required><code>required</code></dfn>, <dfn id=size
+ title=attr-input-size><code>size</code></dfn>, <dfn id=src9
+ title=attr-input-src><code>src</code></dfn>, <dfn id=step
+ title=attr-input-step><code>step</code></dfn>, and <dfn id=value7
+ title=attr-input-value><code>value</code></dfn> attributes depend on the
+ state of the <code title=attr-input-type><a href="#type12">type</a></code>
+ attribute, and are defined in the sections below.
+
+ <p>The <code title=attr-fs-target><a href="#target3">target</a></code>,
+ <code title=attr-fs-method><a href="#method">method</a></code>, <code
+ title=attr-fs-enctype><a href="#enctype">enctype</a></code>, and <code
+ title=attr-fs-action><a href="#action">action</a></code> attributes are
+ used in <span>form submission</span> when the <code
+ title=attr-input-type><a href="#type12">type</a></code> attribute is in
+ one of the <a href="#submit2" title=attr-input-type-submit>Submit
+ Button</a> or <a href="#image5" title=attr-input-type-image>Image
+ Button</a> states.
+
+ <p>The <dfn id=accept0 title=dom-input-accept><code>accept</code></dfn>,
+ <dfn id=alt5 title=dom-input-alt><code>alt</code></dfn>, <dfn
+ id=autocomplete0
+ title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn
+ id=autofocus0 title=dom-input-autofocus><code>autofocus</code></dfn>, <dfn
+ id=inputmode0 title=dom-input-inputmode><code>inputmode</code></dfn>, <dfn
+ id=max4 title=dom-input-max><code>max</code></dfn>, <dfn id=min2
+ title=dom-input-min><code>min</code></dfn>, <dfn id=pattern0
+ title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=required0
+ title=dom-input-required><code>required</code></dfn>, <dfn id=size0
+ title=dom-input-size><code>size</code></dfn>, <dfn id=src10
+ title=dom-input-src><code>src</code></dfn>, <dfn id=step0
+ title=dom-input-step><code>step</code></dfn>, and <dfn id=type13
+ title=dom-input-type><code>type</code></dfn> DOM attributes must <a
+ href="#reflect">reflect</a> the content attributes with the same names.
+
+ <p>The <dfn id=maxlength0
+ title=dom-input-maxLength><code>maxLength</code></dfn> DOM attribute must
+ <a href="#reflect">reflect</a> the <code title=attr-input-maxlength><a
+ href="#maxlength">maxlength</a></code> content attribute. The <dfn
+ id=readonly0 title=dom-input-readOnly><code>readOnly</code></dfn> DOM
+ attribute must <a href="#reflect">reflect</a> the <code
+ title=attr-input-readonly><a href="#readonly">readonly</a></code> content
+ attribute. The <dfn id=defaultchecked
+ title=dom-input-defaultChecked><code>defaultChecked</code></dfn> DOM
+ attribute must <a href="#reflect">reflect</a> the <code
+ title=attr-input-checked><a href="#checked">checked</a></code> content
+ attribute. The <dfn id=defaultvalue
+ title=dom-input-defaultValue><code>defaultValue</code></dfn> DOM attribute
+ must <a href="#reflect">reflect</a> the <code title=attr-input-value><a
+ href="#value7">value</a></code> content attribute.
+
+ <p class=big-issue>... <dfn id=checked0
+ title=dom-input-checked><code>checked</code></dfn>
+
+ <p class=big-issue>... <dfn id=value8
+ title=dom-input-value><code>value</code></dfn>
+
+ <p class=big-issue>... <dfn id=valueasdate
+ title=dom-input-valueAsDate><code>valueAsDate</code></dfn>
+
+ <p class=big-issue>... <dfn id=valueasnumber
+ title=dom-input-valueAsNumber><code>valueAsNumber</code></dfn>
+
+ <p class=big-issue>... <dfn id=list0
+ title=dom-input-list><code>list</code></dfn>
+
+ <p class=big-issue>... <dfn id=selectedoption
+ title=dom-input-selectedOption><code>selectedOption</code></dfn>
+
<p>The <code title=dom-cva-willValidate><a
href="#willvalidate">willValidate</a></code>, <code
title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
@@ -27394,10 +27486,6 @@
href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
of the <a href="#constraint0">constraint validation API</a>.
- <p>The semantics and processing rules of the other attributes depend on the
- state of the <code title=attr-input-type><a href="#type12">type</a></code>
- attribute, and are defined in the sections below.
-
<h5 id=text-state><span class=secno>4.9.4.1. </span><dfn id=text2
title=attr-input-type-text>Text</dfn> State</h5>
@@ -27556,7 +27644,7 @@
<p class=big-issue>...
- <p class=big-issue>... <dfn id=checked
+ <p class=big-issue>... <dfn id=checked1
title=concept-input-checked-checkbox>checked</dfn>
<h5 id=radio><span class=secno>4.9.4.15. </span><dfn id=radio1
@@ -27570,7 +27658,7 @@
<p class=big-issue>...
- <p class=big-issue>... <dfn id=checked0
+ <p class=big-issue>... <dfn id=checked2
title=concept-input-checked-radio>checked</dfn>
<h5 id=file-state><span class=secno>4.9.4.16. </span><dfn id=file0
@@ -27927,7 +28015,7 @@
attribute DOMString <span title=dom-option-label>label</span>;
attribute boolean <span title=dom-option-defaultSelected>defaultSelected</span>;
attribute boolean <span title=dom-option-selected>selected</span>;
- attribute DOMString <span title=dom-input-value>value</span>;
+ attribute DOMString <a href="#value8" title=dom-input-value>value</a>;
readonly attribute DOMString <span title=dom-option-text>text</span>;
readonly attribute long <span title=dom-option-index>index</span>;
@@ -27939,7 +28027,7 @@
<p class=big-issue>... <dfn id=selected1
title=concept-option-selected>selected</dfn>
- <p class=big-issue>... <dfn id=value7
+ <p class=big-issue>... <dfn id=value9
title=concept-option-value>value</dfn>
<p class=big-issue> <dfn id=option0
@@ -28245,7 +28333,7 @@
<p class=big-issue>... <dfn id=disabled6
title=dom-fe-disabled>disabled</dfn> DOM attribute
- <p class=big-issue>... <dfn id=value8 title=concept-fe-value>value</dfn>
+ <p class=big-issue>... <dfn id=value10 title=concept-fe-value>value</dfn>
<h4 id=attributes2><span class=secno>4.9.14 </span><dfn
id=attributes5>Attributes for form submission</dfn></h4>
@@ -28496,14 +28584,14 @@
href="#input0">input</a></code> element whose <code
title=attr-input-type><a href="#type12">type</a></code> attribute is
in the <span title=attr-input-type-checkbox-state>Checkbox</span>
- state and the control is not <a href="#checked"
+ state and the control is not <a href="#checked1"
title=concept-input-checked-checkbox>checked</a>.
<li>The <var title="">field</var> element is an <code><a
href="#input0">input</a></code> element whose <code
title=attr-input-type><a href="#type12">type</a></code> attribute is
in the <span title=attr-input-type-radio-state>Radio Button</span>
- state and the control is not <a href="#checked0"
+ state and the control is not <a href="#checked2"
title=concept-input-checked-radio>checked</a>.
<li>The <var title="">field</var> element is an <code><a
@@ -28591,7 +28679,7 @@
href="#select">select</a></code> element that is <a href="#selected1"
title=concept-option-selected>selected</a>, append an entry in the
<var title="">form data set</var> with the <var title="">name</var> as
- the name and the <a href="#value7"
+ the name and the <a href="#value9"
title=concept-option-value>value</a> of the <code><a
href="#option">option</a></code> element as the value.
@@ -28609,7 +28697,7 @@
<li>
<p>Otherwise, append an entry in the <var title="">form data set</var>
- with <var title="">name</var> as the name and the <a href="#value8"
+ with <var title="">name</var> as the name and the <a href="#value10"
title=concept-fe-value>value</a> of the <var title="">field</var>
element as the value.
</ol>
@@ -29121,21 +29209,21 @@
<dt>Content model:
<dd>If there is no <code title=attr-script-src><a
- href="#src9">src</a></code> attribute, depends on the value of the <code
- title=attr-script-type><a href="#type13">type</a></code> attribute.
+ href="#src11">src</a></code> attribute, depends on the value of the <code
+ title=attr-script-type><a href="#type14">type</a></code> attribute.
<dd>If there <em>is</em> a <code title=attr-script-src><a
- href="#src9">src</a></code> attribute, the element must be empty.
+ href="#src11">src</a></code> attribute, the element must be empty.
<dt>Element-specific attributes:
- <dd><code title=attr-script-src><a href="#src9">src</a></code>
+ <dd><code title=attr-script-src><a href="#src11">src</a></code>
<dd><code title=attr-script-async><a href="#async">async</a></code>
<dd><code title=attr-script-defer><a href="#defer">defer</a></code>
- <dd><code title=attr-script-type><a href="#type13">type</a></code>
+ <dd><code title=attr-script-type><a href="#type14">type</a></code>
<dd><code title=attr-script-charset><a href="#charset2">charset</a></code>
@@ -29144,10 +29232,10 @@
<dd>
<pre
class=idl>interface <dfn id=htmlscriptelement>HTMLScriptElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <code title=dom-script-src><a href="#src10">src</a></code>;
+ attribute DOMString <code title=dom-script-src><a href="#src12">src</a></code>;
attribute boolean <code title=dom-script-async><a href="#async0">async</a></code>;
attribute boolean <code title=dom-script-defer><a href="#defer0">defer</a></code>;
- attribute DOMString <code title=dom-script-type><a href="#type14">type</a></code>;
+ attribute DOMString <code title=dom-script-type><a href="#type15">type</a></code>;
attribute DOMString <code title=dom-script-charset><a href="#charset3">charset</a></code>;
attribute DOMString <code title=dom-script-text><a href="#text3">text</a></code>;
};</pre>
@@ -29158,20 +29246,20 @@
<p>When used to include dynamic scripts, the scripts may either be embedded
inline or may be imported from an external file using the <code
- title=attr-script-src><a href="#src9">src</a></code> attribute. If the
+ title=attr-script-src><a href="#src11">src</a></code> attribute. If the
language is not that described by "<code title="">text/javascript</code>",
- then the <code title=attr-script-type><a href="#type13">type</a></code>
+ then the <code title=attr-script-type><a href="#type14">type</a></code>
attribute must be present. If the <code title=attr-script-type><a
- href="#type13">type</a></code> attribute is present, its value must be the
+ href="#type14">type</a></code> attribute is present, its value must be the
type of the script's language.
<p>When used to include data blocks, the data must be embedded inline, the
format of the data must be given using the <code title=attr-script-type><a
- href="#type13">type</a></code> attribute, and the <code
- title=attr-script-src><a href="#src9">src</a></code> attribute must not be
- specified.
+ href="#type14">type</a></code> attribute, and the <code
+ title=attr-script-src><a href="#src11">src</a></code> attribute must not
+ be specified.
- <p>The <dfn id=type13 title=attr-script-type><code>type</code></dfn>
+ <p>The <dfn id=type14 title=attr-script-type><code>type</code></dfn>
attribute gives the language of the script or format of the data. If the
attribute is present, its value must be a valid MIME type, optionally with
parameters. The <code title="">charset</code> parameter must not be
@@ -29179,11 +29267,11 @@
"<code title="">text/javascript</code>".) <a
href="#refsRFC2046">[RFC2046]</a>
- <p>The <dfn id=src9 title=attr-script-src><code>src</code></dfn> attribute,
- if specified, gives the address of the external script resource to use.
- The value of the attribute must be a <a href="#valid8">valid URL</a>
- identifying a script resource of the type given by the <code
- title=attr-script-type><a href="#type13">type</a></code> attribute, if the
+ <p>The <dfn id=src11 title=attr-script-src><code>src</code></dfn>
+ attribute, if specified, gives the address of the external script resource
+ to use. The value of the attribute must be a <a href="#valid8">valid
+ URL</a> identifying a script resource of the type given by the <code
+ title=attr-script-type><a href="#type14">type</a></code> attribute, if the
attribute is present, or of the type "<code
title="">text/javascript</code>", if the attribute is absent.
@@ -29191,7 +29279,7 @@
title=attr-script-charset><code>charset</code></dfn> attribute gives the
character encoding of the external script resource. The attribute must not
be specified if the <code title=attr-script-src><a
- href="#src9">src</a></code> attribute is not present. If the attribute is
+ href="#src11">src</a></code> attribute is not present. If the attribute is
set, its value must be a valid character encoding name, and must be the
preferred name for that encoding. <a
href="#refsIANACHARSET">[IANACHARSET]</a>
@@ -29229,14 +29317,14 @@
title=attr-script-defer><a href="#defer">defer</a></code> behavior instead
of the synchronous blocking behavior that is the default.
- <p>Changing the <code title=attr-script-src><a href="#src9">src</a></code>,
- <code title=attr-script-type><a href="#type13">type</a></code>, <code
- title=attr-script-charset><a href="#charset2">charset</a></code>, <code
- title=attr-script-async><a href="#async">async</a></code>, and <code
- title=attr-script-defer><a href="#defer">defer</a></code> attributes
- dynamically has no direct effect; these attribute are only used at
- specific times described below (namely, when the element is inserted into
- the document).</p>
+ <p>Changing the <code title=attr-script-src><a
+ href="#src11">src</a></code>, <code title=attr-script-type><a
+ href="#type14">type</a></code>, <code title=attr-script-charset><a
+ href="#charset2">charset</a></code>, <code title=attr-script-async><a
+ href="#async">async</a></code>, and <code title=attr-script-defer><a
+ href="#defer">defer</a></code> attributes dynamically has no direct
+ effect; these attribute are only used at specific times described below
+ (namely, when the element is inserted into the document).</p>
<!-- by implication, changes to the base URL also
have no effect -->
@@ -29283,16 +29371,16 @@
<ul class=brief>
<li>the <code><a href="#script1">script</a></code> element has a <code
- title=attr-script-type><a href="#type13">type</a></code> attribute and
+ title=attr-script-type><a href="#type14">type</a></code> attribute and
its value is the empty string, or
<li>the <code><a href="#script1">script</a></code> element has no <code
- title=attr-script-type><a href="#type13">type</a></code> attribute but
+ title=attr-script-type><a href="#type14">type</a></code> attribute but
it has a <code title=attr-script-language>language</code> attribute and
<em>that</em> attribute's value is the empty string, or
<li>the <code><a href="#script1">script</a></code> element has neither a
- <code title=attr-script-type><a href="#type13">type</a></code>
+ <code title=attr-script-type><a href="#type14">type</a></code>
attribute nor a <code title=attr-script-language>language</code>
attribute, then
</ul>
@@ -29302,7 +29390,7 @@
title="">text/javascript</code>".</p>
<p>Otherwise, if the <code><a href="#script1">script</a></code> element
- has a <code title=attr-script-type><a href="#type13">type</a></code>
+ has a <code title=attr-script-type><a href="#type14">type</a></code>
attribute, let <var><a href="#the-scripts">the script's type</a></var>
for this <code><a href="#script1">script</a></code> element be the value
of that attribute.</p>
@@ -29351,7 +29439,7 @@
<li>
<p>If the element has a <code title=attr-script-src><a
- href="#src9">src</a></code> attribute, then the specified resource must
+ href="#src11">src</a></code> attribute, then the specified resource must
be <a href="#fetch" title=fetch>fetched</a>.</p>
<p>For historical reasons, if the <a href="#url">URL</a> is a <a
@@ -29374,7 +29462,7 @@
be inserted into the document. Either way, once the element is inserted
into the document, the load must have started. If the UA performs such
prefetching, but the element is never inserted in the document, or the
- <code title=attr-script-src><a href="#src9">src</a></code> attribute is
+ <code title=attr-script-src><a href="#src11">src</a></code> attribute is
dynamically changed, then the user agent will not execute the script,
and the fetching process will have been effectively wasted.</p>
@@ -29402,29 +29490,29 @@
<dt>If the element has an <code title=attr-script-async><a
href="#async">async</a></code> attribute and a <code
- title=attr-script-src><a href="#src9">src</a></code> attribute
+ title=attr-script-src><a href="#src11">src</a></code> attribute
<dd>The element must be added to the end of the <a href="#list-of0">list
of scripts that will execute asynchronously</a>.
<dt>If the element has an <code title=attr-script-async><a
href="#async">async</a></code> attribute but no <code
- title=attr-script-src><a href="#src9">src</a></code> attribute, and the
- <a href="#list-of0">list of scripts that will execute
+ title=attr-script-src><a href="#src11">src</a></code> attribute, and
+ the <a href="#list-of0">list of scripts that will execute
asynchronously</a> is not empty
<dd>The element must be added to the end of the <a href="#list-of0">list
of scripts that will execute asynchronously</a>.
<dt>If the element has a <code title=attr-script-src><a
- href="#src9">src</a></code> attribute and has been flagged as <a
+ href="#src11">src</a></code> attribute and has been flagged as <a
href="#parser-inserted">"parser-inserted"</a>
<dd>The element is the <span>pending external script</span>. (There can
only be one such script at a time.)
<dt>If the element has a <code title=attr-script-src><a
- href="#src9">src</a></code> attribute
+ href="#src11">src</a></code> attribute
<dd>The element must be added to the end of the <a href="#list-of1">list
of scripts that will execute as soon as possible</a>.
@@ -29489,7 +29577,7 @@
<li>
<p>If there are any more scripts in the list, and the element now at
the head of the list had no <code title=attr-script-src><a
- href="#src9">src</a></code> attribute when it was added to the list,
+ href="#src11">src</a></code> attribute when it was added to the list,
or had one, but its associated script has finished loading, then jump
back to step two to execute the script associated with this element.</p>
</ol>
@@ -29592,8 +29680,8 @@
</ol>
</dl>
- <p>The DOM attributes <dfn id=src10
- title=dom-script-src><code>src</code></dfn>, <dfn id=type14
+ <p>The DOM attributes <dfn id=src12
+ title=dom-script-src><code>src</code></dfn>, <dfn id=type15
title=dom-script-type><code>type</code></dfn>, <dfn id=charset3
title=dom-script-charset><code>charset</code></dfn>, <dfn id=async0
title=dom-script-async><code>async</code></dfn>, and <dfn id=defer0
@@ -29850,50 +29938,50 @@
<dt>Element-specific attributes:
- <dd><code title=attr-eventsource-src><a href="#src11">src</a></code>
+ <dd><code title=attr-eventsource-src><a href="#src13">src</a></code>
<dt>DOM interface:
<dd>
<pre
class=idl>interface <dfn id=htmleventsourceelement>HTMLEventSourceElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#src12" title=dom-eventsource-src>src</a>;
+ attribute DOMString <a href="#src14" title=dom-eventsource-src>src</a>;
};</pre>
</dl>
<p>The <code><a href="#eventsource">eventsource</a></code> element
represents a target for events generated by a remote server.
- <p>The <dfn id=src11 title=attr-eventsource-src><code>src</code></dfn>
+ <p>The <dfn id=src13 title=attr-eventsource-src><code>src</code></dfn>
attribute, if specified, must give a <a href="#valid8">valid URL</a>
identifying a resource that uses the <code>text/event-stream</code>
format.
<p>When an <code><a href="#eventsource">eventsource</a></code> element with
- a <code title=attr-eventsource-src><a href="#src11">src</a></code>
+ a <code title=attr-eventsource-src><a href="#src13">src</a></code>
attribute specified is inserted into the document<!-- XXX xref -->, and
when an <code><a href="#eventsource">eventsource</a></code> element that
is already in the document<!--XXX xref--> has a <code
- title=attr-eventsource-src><a href="#src11">src</a></code> attribute
+ title=attr-eventsource-src><a href="#src13">src</a></code> attribute
added, the user agent must run the <a href="#add-declared">add declared
event source</a> algorithm.
<p>While an <code><a href="#eventsource">eventsource</a></code> element is
in a document<!--
XXX xref -->, if its <code
- title=attr-eventsource-src><a href="#src11">src</a></code> attribute is
+ title=attr-eventsource-src><a href="#src13">src</a></code> attribute is
mutated, the user agent must must run the <a href="#remove1">remove
declared event source</a> algorithm followed by the <a
href="#add-declared">add declared event source</a> algorithm.
<p>When an <code><a href="#eventsource">eventsource</a></code> element with
- a <code title=attr-eventsource-src><a href="#src11">src</a></code>
+ a <code title=attr-eventsource-src><a href="#src13">src</a></code>
attribute specified is removed from a document<!-- XXX xref -->, and when
an <code><a href="#eventsource">eventsource</a></code> element that is in
a document<!--XXX
xref--> with a <code title=attr-eventsource-src><a
- href="#src11">src</a></code> attribute specified has its <code
- title=attr-eventsource-src><a href="#src11">src</a></code> attribute
+ href="#src13">src</a></code> attribute specified has its <code
+ title=attr-eventsource-src><a href="#src13">src</a></code> attribute
removed, the user agent must run the <a href="#remove1">remove declared
event source</a> algorithm.</p>
<!-- changing the base URL doesn't trigger these algorithms -->
@@ -29909,7 +29997,7 @@
<li><a href="#resolve" title="resolve a url">Resolve</a> the <a
href="#url">URL</a> specified by the <code><a
href="#eventsource">eventsource</a></code> element's <code
- title=attr-eventsource-src><a href="#src11">src</a></code> attribute.
+ title=attr-eventsource-src><a href="#src13">src</a></code> attribute.
<li>If that fails, then set the element's <i>current declared event
source</i> to "undefined" and abort these steps.
@@ -29948,7 +30036,7 @@
<!-- XXX should we make 'load', 'error', 'abort' events fire on this
element? -->
- <p>The <dfn id=src12 title=dom-eventsource-src><code>src</code></dfn> DOM
+ <p>The <dfn id=src14 title=dom-eventsource-src><code>src</code></dfn> DOM
attribute must <a href="#reflect">reflect</a> the content attribute of the
same name.
@@ -30484,7 +30572,7 @@
<th>Description
<tr>
- <td><!--checked--><dfn id=checked1
+ <td><!--checked--><dfn id=checked3
title=datagrid-cell-class-checked><code>checked</code></dfn>
<td>Cells
@@ -30517,11 +30605,11 @@
title=datagrid-cell-class-progress><a
href="#progress1">progress</a></code>, <code
title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code>, <code
+ href="#checked3">checked</a></code>, <code
title=datagrid-cell-class-checked><a
- href="#checked1">unchecked</a></code> and <code
+ href="#checked3">unchecked</a></code> and <code
title=datagrid-cell-class-checked><a
- href="#checked1">indeterminate</a></code> classes override this,
+ href="#checked3">indeterminate</a></code> classes override this,
though.)
<tr>
@@ -30540,9 +30628,9 @@
<td>The cell has a checkbox, and it can be set to an indeterminate
state. If neither the <code title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code> nor <code
+ href="#checked3">checked</a></code> nor <code
title=datagrid-cell-class-checked><a
- href="#checked1">unchecked</a></code> classes are present, then the
+ href="#checked3">unchecked</a></code> classes are present, then the
checkbox is in that state, too. (The <code
title=datagrid-cell-class-cyclable><a
href="#cyclable">cyclable</a></code> and <code
@@ -30655,7 +30743,7 @@
<td>The cell has a checkbox and, unless the <code
title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code> class is present as well, it is
+ href="#checked3">checked</a></code> class is present as well, it is
unchecked. (The <code title=datagrid-cell-class-cyclable><a
href="#cyclable">cyclable</a></code> and <code
title=datagrid-cell-class-progress><a
@@ -31292,17 +31380,17 @@
<p>The <code title=dom-provider-getCellClasses><a
href="#getcellclasses">getCellClasses()</a></code> method must add the
<code title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code> class if the <code><a
- href="#input0">input</a></code> element is <span
- title=dom-input-checked>checked</span>, and the <code
+ href="#checked3">checked</a></code> class if the <code><a
+ href="#input0">input</a></code> element is <a href="#checked0"
+ title=dom-input-checked>checked</a>, and the <code
title=datagrid-cell-class-unchecked><a
href="#unchecked">unchecked</a></code> class otherwise.</p>
<p>The <code title=dom-provider-setCellCheckedState><a
href="#setcellcheckedstate">setCellCheckedState()</a></code> method must
- set the <code><a href="#input0">input</a></code> element's checkbox
- <span title=dom-input-checked>state</span> to checked if the method's
- third argument is 1, and to unchecked otherwise.</p>
+ set the <code><a href="#input0">input</a></code> element's checkbox <a
+ href="#checked0" title=dom-input-checked>state</a> to checked if the
+ method's third argument is 1, and to unchecked otherwise.</p>
<p>The <code title=dom-provider-cycleCell><a
href="#cyclecell">cycleCell()</a></code> and <code
@@ -31321,8 +31409,8 @@
<p>The <code title=dom-provider-getCellData><a
href="#getcelldata">getCellData()</a></code> method must return the
- <code title=dom-input-value>value</code> of the <code><a
- href="#input0">input</a></code> element.</p>
+ <code title=dom-input-value><a href="#value8">value</a></code> of the
+ <code><a href="#input0">input</a></code> element.</p>
<p>The <code title=dom-provider-getCellClasses><a
href="#getcellclasses">getCellClasses()</a></code> method must add the
@@ -31331,9 +31419,9 @@
<p>The <code title=dom-provider-editCell><a
href="#editcell">editCell()</a></code> method must set the <code><a
- href="#input0">input</a></code> element's <code
- title=dom-input-value>value</code> DOM attribute to the value of the
- third argument to the method.</p>
+ href="#input0">input</a></code> element's <code title=dom-input-value><a
+ href="#value8">value</a></code> DOM attribute to the value of the third
+ argument to the method.</p>
<p>The <code title=dom-provider-setCellCheckedState><a
href="#setcellcheckedstate">setCellCheckedState()</a></code> and <code
@@ -31707,7 +31795,7 @@
<dt id=cellType2>To establish how a simple text cell should be presented
<dd>Check whether one of the <code title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code>, <code
+ href="#checked3">checked</a></code>, <code
title=datagrid-cell-class-unchecked><a
href="#unchecked">unchecked</a></code>, or <code
title=datagrid-cell-class-indeterminate><a
@@ -31723,7 +31811,7 @@
<dt>To establish the state of a cell's checkbox, if it has one
<dd>Check whether the <code title=datagrid-cell-class-checked><a
- href="#checked1">checked</a></code> class applies to the cell. If it
+ href="#checked3">checked</a></code> class applies to the cell. If it
does, the cell is checked. Otherwise, check whether the <code
title=datagrid-cell-class-unchecked><a
href="#unchecked">unchecked</a></code> class applies to the cell. If it
@@ -31735,7 +31823,7 @@
href="#indeterminate">indeterminate</a></code> class applies to the cell,
the checkbox is a tristate checkbox, and the user can set it to the
indeterminate state. Otherwise, only the <code
- title=datagrid-cell-class-checked><a href="#checked1">checked</a></code>
+ title=datagrid-cell-class-checked><a href="#checked3">checked</a></code>
and/or <code title=datagrid-cell-class-unchecked><a
href="#unchecked">unchecked</a></code> classes apply to the cell, and the
cell can only be toggled between those two states.
@@ -32138,7 +32226,7 @@
<dt>Element-specific attributes:
- <dd><code title=attr-command-type><a href="#type15">type</a></code>
+ <dd><code title=attr-command-type><a href="#type16">type</a></code>
<dd><code title=attr-command-label><a href="#label0">label</a></code>
@@ -32148,7 +32236,7 @@
href="#disabled9">disabled</a></code>
<dd><code title=attr-command-checked><a
- href="#checked2">checked</a></code>
+ href="#checked4">checked</a></code>
<dd><code title=attr-command-radiogroup><a
href="#radiogroup">radiogroup</a></code>
@@ -32165,11 +32253,11 @@
<dd>
<pre
class=idl>interface <dfn id=htmlcommandelement>HTMLCommandElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#type16" title=dom-command-type>type</a>;
+ attribute DOMString <a href="#type17" title=dom-command-type>type</a>;
attribute DOMString <a href="#label1" title=dom-command-label>label</a>;
attribute DOMString <a href="#icon0" title=dom-command-icon>icon</a>;
attribute boolean <a href="#disabled10" title=dom-command-disabled>disabled</a>;
- attribute boolean <a href="#checked3" title=dom-command-checked>checked</a>;
+ attribute boolean <a href="#checked5" title=dom-command-checked>checked</a>;
attribute DOMString <a href="#radiogroup0" title=dom-command-radiogroup>radiogroup</a>;
attribute boolean <a href="#default3" title=dom-command-default>default</a>;
void <a href="#click" title=dom-command-click>click</a>(); // shadows <code><a href="#htmlelement">HTMLElement</a></code>.<code title=dom-click><a href="#click1">click()</a></code>
@@ -32182,7 +32270,7 @@
<p>The <code><a href="#command0">command</a></code> element represents a
command that the user can invoke.
- <p>The <dfn id=type15 title=attr-command-type><code>type</code></dfn>
+ <p>The <dfn id=type16 title=attr-command-type><code>type</code></dfn>
attribute indicates the kind of command: either a normal command with an
associated action, or a state or option that can be toggled, or a
selection of one item from a list of items.</p>
@@ -32221,7 +32309,7 @@
the faucet is already open, but the command "eat" would be marked hidden
since the faucet could never be eaten.
- <p>The <dfn id=checked2
+ <p>The <dfn id=checked4
title=attr-command-checked><code>checked</code></dfn> attribute is a <a
href="#boolean0">boolean attribute</a> that, if present, indicates that
the command is selected.
@@ -32230,7 +32318,7 @@
title=attr-command-radiogroup><code>radiogroup</code></dfn> attribute
gives the name of the group of commands that will be toggled when the
command itself is toggled, for commands whose <code
- title=attr-command-type><a href="#type15">type</a></code> attribute has
+ title=attr-command-type><a href="#type16">type</a></code> attribute has
the value "<code title="">radio</code>". The scope of the name is the
child list of the parent element.
@@ -32251,10 +32339,10 @@
attributes off, and that has a default command.</p>
</div>
- <p>The <dfn id=type16 title=dom-command-type><code>type</code></dfn>, <dfn
+ <p>The <dfn id=type17 title=dom-command-type><code>type</code></dfn>, <dfn
id=label1 title=dom-command-label><code>label</code></dfn>, <dfn id=icon0
title=dom-command-icon><code>icon</code></dfn>, <dfn id=disabled10
- title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked3
+ title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked5
title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0
title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn
id=default3 title=dom-command-default><code>default</code></dfn> DOM
@@ -32263,23 +32351,23 @@
<p>The <dfn id=click title=dom-command-click><code>click()</code></dfn>
method's behavior depends on the value of the <code
- title=attr-command-type><a href="#type15">type</a></code> attribute of the
+ title=attr-command-type><a href="#type16">type</a></code> attribute of the
element, as follows:
<dl class=switch>
- <dt>If the <code title=attr-command-type><a href="#type15">type</a></code>
+ <dt>If the <code title=attr-command-type><a href="#type16">type</a></code>
attribute has the value <code title="">checkbox</code>
<dd>
<p>If the element has a <code title=attr-command-checked><a
- href="#checked2">checked</a></code> attribute, the UA must remove that
+ href="#checked4">checked</a></code> attribute, the UA must remove that
attribute. Otherwise, the UA must add a <code
- title=attr-command-checked><a href="#checked2">checked</a></code>
+ title=attr-command-checked><a href="#checked4">checked</a></code>
attribute, with the literal value <code title="">checked</code>. The UA
must then <a href="#firing">fire a <code title="">click</code> event</a>
at the element.
- <dt>If the <code title=attr-command-type><a href="#type15">type</a></code>
+ <dt>If the <code title=attr-command-type><a href="#type16">type</a></code>
attribute has the value <code title="">radio</code>
<dd>
@@ -32292,12 +32380,12 @@
title=attr-command-radiogroup><a
href="#radiogroup">radiogroup</a></code> attributes as if they were the
empty string), and has a <code title=attr-command-checked><a
- href="#checked2">checked</a></code> attribute, must remove that
+ href="#checked4">checked</a></code> attribute, must remove that
attribute and <a href="#firing">fire a <code title="">click</code>
event</a> at the element.</p>
<p>Then, the element's <code title=attr-command-checked><a
- href="#checked2">checked</a></code> attribute attribute must be set to
+ href="#checked4">checked</a></code> attribute attribute must be set to
the literal value <code title="">checked</code> and a <span title="file
a click event"><code title="">click</code> event must be fired</span> at
the element.
@@ -32343,14 +32431,14 @@
<dt>Element-specific attributes:
- <dd><code title=attr-command-type><a href="#type15">type</a></code>
+ <dd><code title=attr-command-type><a href="#type16">type</a></code>
<dt>DOM interface:
<dd>
<pre
class=idl>interface <dfn id=htmlbrowserbuttonelement>HTMLBrowserButtonElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#type18" title=dom-bb-type>type</a>;
+ attribute DOMString <a href="#type19" title=dom-bb-type>type</a>;
readonly attribute boolean <a href="#supported" title=dom-bb-supported>supported</a>;
readonly attribute boolean <a href="#disabled11" title=dom-bb-disabled>disabled</a>;
};</pre>
@@ -32362,9 +32450,9 @@
<p>The <code><a href="#bb">bb</a></code> element represents a user agent
command that the user can invoke.
- <p>The <dfn id=type17 title=attr-bb-type><code>type</code></dfn> attribute
+ <p>The <dfn id=type18 title=attr-bb-type><code>type</code></dfn> attribute
indicates the kind of command. The <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute is an <a
+ href="#type18">type</a></code> attribute is an <a
href="#enumerated">enumerated attribute</a>. The following table lists the
keywords and states for the attribute — the keywords in the left
column map to the states listed in the cell in the second column on the
@@ -32397,10 +32485,10 @@
is to not do anything, and the <i>relevance</i> is unconditionally false.
<p>A <code><a href="#bb">bb</a></code> element whose <code
- title=attr-bb-type><a href="#type17">type</a></code> attribute is in a
+ title=attr-bb-type><a href="#type18">type</a></code> attribute is in a
state whose <i>relevance</i> is true must be enabled. Conversely, a
<code><a href="#bb">bb</a></code> element whose <code
- title=attr-bb-type><a href="#type17">type</a></code> attribute is in a
+ title=attr-bb-type><a href="#type18">type</a></code> attribute is in a
state whose <i>relevance</i> is false must be disabled.
<p>If a <code><a href="#bb">bb</a></code> element is enabled, it must match
@@ -32410,24 +32498,24 @@
<p>User agents should allow users to invoke <code><a
href="#bb">bb</a></code> elements when they are enabled. When a user
invokes a <code><a href="#bb">bb</a></code> element, its <code
- title=attr-bb-type><a href="#type17">type</a></code> attribute's state's
+ title=attr-bb-type><a href="#type18">type</a></code> attribute's state's
<i>action</i> must be invoked.
<p>When the element has no descendant element children and has no
descendant text node children of non-zero length, the element represents a
browser button with a user-agent-defined icon or text representing the
- <code title=attr-bb-type><a href="#type17">type</a></code> attribute's
+ <code title=attr-bb-type><a href="#type18">type</a></code> attribute's
state's <i>action</i> and <i>relevance</i> (enabled vs disabled).
Otherwise, the element represents its descendants.
- <p>The <dfn id=type18 title=dom-bb-type><code>type</code></dfn> DOM
+ <p>The <dfn id=type19 title=dom-bb-type><code>type</code></dfn> DOM
attribute must <a href="#reflect">reflect</a> the content attribute of the
same name.
<p>The <dfn id=supported
title=dom-bb-supported><code>supported</code></dfn> DOM attribute must
return true if the <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute is in a state other than the <i
+ href="#type18">type</a></code> attribute is in a state other than the <i
title=attr-bb-type-null-state><a href="#null">null</a></i> state and the
user agent supports that state's <i>action</i> (i.e. when the attribute's
value is one that the user agent recognises and supports), and false
@@ -32436,7 +32524,7 @@
<p>The <dfn id=disabled11 title=dom-bb-disabled><code>disabled</code></dfn>
DOM attribute must return true if the element is disabled, and false
otherwise (i.e. it returns the opposite of the <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state's <i>relevance</i>).
+ href="#type18">type</a></code> attribute's state's <i>relevance</i>).
<h5 id=browser><span class=secno>4.11.4.1. </span>Browser button types</h5>
@@ -32527,7 +32615,7 @@
<dd><a href="#flow-content0">Flow content</a>.
<dd>If the element's <code title=attr-menu-type><a
- href="#type19">type</a></code> attribute is in the <a href="#tool-bar"
+ href="#type20">type</a></code> attribute is in the <a href="#tool-bar"
title="tool bar state">tool bar</a> state: <a
href="#interactive1">Interactive content</a>.
@@ -32549,7 +32637,7 @@
<dt>Element-specific attributes:
- <dd><code title=attr-menu-type><a href="#type19">type</a></code>
+ <dd><code title=attr-menu-type><a href="#type20">type</a></code>
<dd><code title=attr-menu-label><a href="#label2">label</a></code>
@@ -32558,7 +32646,7 @@
<dd>
<pre
class=idl>interface <dfn id=htmlmenuelement>HTMLMenuElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#type20" title=dom-menu-type>type</a>;
+ attribute DOMString <a href="#type21" title=dom-menu-type>type</a>;
attribute DOMString <a href="#label3" title=dom-menu-label>label</a>;
};</pre>
</dl>
@@ -32566,7 +32654,7 @@
<p>The <code><a href="#menu">menu</a></code> element represents a list of
commands.
- <p>The <dfn id=type19 title=attr-menu-type><code>type</code></dfn>
+ <p>The <dfn id=type20 title=attr-menu-type><code>type</code></dfn>
attribute is an <a href="#enumerated">enumerated attribute</a> indicating
the kind of menu being declared. The attribute has three states. The <code
title=attr-menu-type-context>context</code> keyword maps to the <dfn
@@ -32575,31 +32663,31 @@
title=attr-menu-type-toolbar>toolbar</code> keyword maps to the <dfn
id=tool-bar title="tool bar state">tool bar</dfn> state, in which the
element is declaring a tool bar. The attribute may also be omitted. The
- <i>missing value default</i> is the <dfn id=list title="list
+ <i>missing value default</i> is the <dfn id=list1 title="list
state">list</dfn> state, which indicates that the element is merely a list
of commands that is neither declaring a context menu nor defining a tool
bar.
<p>If a <code><a href="#menu">menu</a></code> element's <code
- title=attr-menu-type><a href="#type19">type</a></code> attribute is in the
+ title=attr-menu-type><a href="#type20">type</a></code> attribute is in the
<a href="#context1" title="context menu state">context menu</a> state,
then the element represents the commands of a context menu, and the user
can only interact with the commands if that context menu is activated.
<p>If a <code><a href="#menu">menu</a></code> element's <code
- title=attr-menu-type><a href="#type19">type</a></code> attribute is in the
+ title=attr-menu-type><a href="#type20">type</a></code> attribute is in the
<a href="#tool-bar" title="tool bar state">tool bar</a> state, then the
element represents a list of active commands that the user can immediately
interact with.
<p>If a <code><a href="#menu">menu</a></code> element's <code
- title=attr-menu-type><a href="#type19">type</a></code> attribute is in the
- <a href="#list" title="list state">list</a> state, then the element either
- represents an unordered list of items (each represented by an <code><a
- href="#li">li</a></code> element), each of which represents a command that
- the user may perform or activate, or, if the element has no <code><a
- href="#li">li</a></code> element children, <a href="#flow-content0">flow
- content</a> describing available commands.
+ title=attr-menu-type><a href="#type20">type</a></code> attribute is in the
+ <a href="#list1" title="list state">list</a> state, then the element
+ either represents an unordered list of items (each represented by an
+ <code><a href="#li">li</a></code> element), each of which represents a
+ command that the user may perform or activate, or, if the element has no
+ <code><a href="#li">li</a></code> element children, <a
+ href="#flow-content0">flow content</a> describing available commands.
<p>The <dfn id=label2 title=attr-menu-label><code>label</code></dfn>
attribute gives the label of the menu. It is used by user agents to
@@ -32607,7 +32695,7 @@
another menu would use the nested menu's <code title=attr-menu-label><a
href="#label2">label</a></code> attribute for the submenu's menu label.
- <p>The <dfn id=type20 title=dom-menu-type><code>type</code></dfn> and <dfn
+ <p>The <dfn id=type21 title=dom-menu-type><code>type</code></dfn> and <dfn
id=label3 title=dom-menu-label><code>label</code></dfn> DOM attributes
must <a href="#reflect">reflect</a> the content attributes of the same
name.
@@ -32888,7 +32976,7 @@
visible.
<p>When a <code><a href="#menu">menu</a></code> element has a <code
- title=attr-menu-type><a href="#type19">type</a></code> attribute with the
+ title=attr-menu-type><a href="#type20">type</a></code> attribute with the
value <code title="">toolbar</code>, then the user agent must <a
href="#building0" title="building menus and tool bars">build</a> the menu
for that <code><a href="#menu">menu</a></code> element and <span
@@ -32911,14 +32999,14 @@
title=concept-facet>facets</dfn>:
<dl>
- <dt><dfn id=type21 title=command-facet-Type>Type</dfn>
+ <dt><dfn id=type22 title=command-facet-Type>Type</dfn>
<dd>The kind of command: "command", meaning it is a normal command;
"radio", meaning that triggering the command will, amongst other things,
- set the <a href="#checked4" title=command-facet-CheckedState>Checked
+ set the <a href="#checked6" title=command-facet-CheckedState>Checked
State</a> to true (and probably uncheck some other commands); or
"checkbox", meaning that triggering the command will, amongst other
- things, toggle the value of the <a href="#checked4"
+ things, toggle the value of the <a href="#checked6"
title=command-facet-CheckedState>Checked State</a>.
<dt><dfn id=id1 title=command-facet-ID>ID</dfn>
@@ -32952,7 +33040,7 @@
<dd>Whether the command is relevant and can be triggered or not.
- <dt><dfn id=checked4 title=command-facet-CheckedState>Checked State</dfn>
+ <dt><dfn id=checked6 title=command-facet-CheckedState>Checked State</dfn>
<dd>Whether the command is checked or not.
@@ -32990,7 +33078,7 @@
readonly attribute DOMString <a href="#icon2" title=dom-command-ro-icon>icon</a>;
readonly attribute boolean <a href="#hidden3" title=dom-command-ro-hidden>hidden</a>;
readonly attribute boolean <a href="#disabled13" title=dom-command-ro-disabled>disabled</a>;
- readonly attribute boolean <a href="#checked5" title=dom-command-ro-checked>checked</a>;
+ readonly attribute boolean <a href="#checked7" title=dom-command-ro-checked>checked</a>;
void <a href="#click0" title=dom-command-ro-click>click</a>();
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#triggers0" title=dom-command-ro-triggers>triggers</a>;
readonly attribute <a href="#command0">Command</a> <span title=dom-command-ro-command>command</span>;
@@ -33011,7 +33099,7 @@
title=dom-command-ro-commandType><code>commandType</code></dfn> attribute
must return a string whose value is either "<code
title="">command</code>", "<code title="">radio</code>", or "<code
- title="">checked</code>", depending on whether the <a href="#type21"
+ title="">checked</code>", depending on whether the <a href="#type22"
title=command-facet-Type>Type</a> of the command defined by the element is
"command", "radio", or "checked" respectively. If the element does not
define a command, it must return null.
@@ -33073,9 +33161,9 @@
href="#option">option</a></code>, and <code><a
href="#command0">command</a></code> elements.
- <p>The <dfn id=checked5
+ <p>The <dfn id=checked7
title=dom-command-ro-checked><code>checked</code></dfn> attribute must
- return true if the command's <a href="#checked4"
+ return true if the command's <a href="#checked6"
title=command-facet-CheckedState>Checked State</a> is that the command is
checked, and false if it is that the command is not checked. If the
element does not define a command, the attribute must return false. This
@@ -33120,7 +33208,7 @@
title=attr-hyperlink-href><a href="#href6">href</a></code> attribute <a
href="#command1" title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a> of the command
+ <p>The <a href="#type22" title=command-facet-Type>Type</a> of the command
is "command".
<p>The <a href="#id1" title=command-facet-ID>ID</a> of the command is the
@@ -33155,7 +33243,7 @@
State</a> facet of the command is always false. (The command is always
enabled.)
- <p>The <a href="#checked4" title=command-facet-CheckedState>Checked
+ <p>The <a href="#checked6" title=command-facet-CheckedState>Checked
State</a> of the command is always false. (The command is never checked.)
<p>The <a href="#action2" title=command-facet-Action>Action</a> of the
@@ -33169,12 +33257,12 @@
<p>A <code><a href="#button2">button</a></code> element always <a
href="#command1" title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a>, <a href="#id1"
+ <p>The <a href="#type22" title=command-facet-Type>Type</a>, <a href="#id1"
title=command-facet-ID>ID</a>, <a href="#label4"
title=command-facet-Label>Label</a>, <a href="#hint"
title=command-facet-Hint>Hint</a>, <a href="#icon1"
title=command-facet-Icon>Icon</a>, <a href="#hidden2"
- title=command-facet-HiddenState>Hidden State</a>, <a href="#checked4"
+ title=command-facet-HiddenState>Hidden State</a>, <a href="#checked6"
title=command-facet-CheckedState>Checked State</a>, and <a href="#action2"
title=command-facet-Action>Action</a> facets of the command are determined
<a href="#using5" title=a-command>as for <code>a</code> elements</a> (see
@@ -33197,7 +33285,7 @@
href="#checkbox1" title=attr-input-type-checkbox>Checkbox</a> states <a
href="#command1" title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a> of the command
+ <p>The <a href="#type22" title=command-facet-Type>Type</a> of the command
is "radio" if the <code title=attr-input-type><a
href="#type12">type</a></code> attribute is in the <code
title=attr-input-type-radio><a href="#radio1">Radio Button</a></code>
@@ -33214,13 +33302,13 @@
<p>The <a href="#label4" title=command-facet-Label>Label</a> of the command
depends on the Type of the command:
- <p>If the <a href="#type21" title=command-facet-Type>Type</a> is "command",
- then it is the string given by the <code
- title=attr-input-value>value</code> attribute, if any, and a
+ <p>If the <a href="#type22" title=command-facet-Type>Type</a> is "command",
+ then it is the string given by the <code title=attr-input-value><a
+ href="#value7">value</a></code> attribute, if any, and a
<span>UA-dependent value</span><!-- XXX xref--> that the UA uses to label
the button itself if the attribute is absent.
- <p>Otherwise, the <a href="#type21" title=command-facet-Type>Type</a> is
+ <p>Otherwise, the <a href="#type22" title=command-facet-Type>Type</a> is
"radio" or "checkbox". If the element is a <a href="#labeled">labeled
control</a>, the <code title="">textContent</code> of the first <code><a
href="#label">label</a></code> element in <a href="#tree-order">tree
@@ -33228,9 +33316,10 @@
question is the <a href="#label4" title=command-facet-Label>Label</a> (in
DOM terms, this the string given by <code><var
title="">element</var>.labels[0].textContent</code>). Otherwise, the value
- of the <code title=attr-input-value>value</code> attribute, if present, is
- the <a href="#label4" title=command-facet-Label>Label</a>. Otherwise, the
- <a href="#label4" title=command-facet-Label>Label</a> is the empty string.
+ of the <code title=attr-input-value><a href="#value7">value</a></code>
+ attribute, if present, is the <a href="#label4"
+ title=command-facet-Label>Label</a>. Otherwise, the <a href="#label4"
+ title=command-facet-Label>Label</a> is the empty string.
<p>The <a href="#hint" title=command-facet-Hint>Hint</a> of the command is
the value of the <code title=attr-title><a href="#title">title</a></code>
@@ -33250,11 +33339,11 @@
State</a> of the command mirrors the <a href="#disabled4"
title=concept-fe-disabled>disabled</a> state of the control.
- <p>The <a href="#checked4" title=command-facet-CheckedState>Checked
- State</a> of the command is true if the command is of <a href="#type21"
+ <p>The <a href="#checked6" title=command-facet-CheckedState>Checked
+ State</a> of the command is true if the command is of <a href="#type22"
title=command-facet-Type>Type</a> "radio" or "checkbox" and the element
- has a <code title=attr-input-checked>checked</code> attribute, and false
- otherwise.
+ has a <code title=attr-input-checked><a href="#checked">checked</a></code>
+ attribute, and false otherwise.
<p>The <a href="#action2" title=command-facet-Action>Action</a> of the
command is to <a href="#firing" title="fire a click event">fire a <code
@@ -33273,7 +33362,7 @@
title=attr-option-value>value</code> attribute that is not the empty
string <a href="#command1" title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a> of the command
+ <p>The <a href="#type22" title=command-facet-Type>Type</a> of the command
is "radio" if the <code><a href="#option">option</a></code>'s nearest
ancestor <code><a href="#select">select</a></code> element has no <code
title=attr-select-multiple>multiple</code> attribute, and "checkbox" if it
@@ -33308,14 +33397,14 @@
State</a> of the command is true (disabled) if the element has a <code
title=attr-option-disabled>disabled</code> attribute, and false otherwise.
- <p>The <a href="#checked4" title=command-facet-CheckedState>Checked
+ <p>The <a href="#checked6" title=command-facet-CheckedState>Checked
State</a> of the command is true (checked) if the element's <code
title=dom-option-selected>selected</code> DOM attribute is true, and false
otherwise.
<p>The <a href="#action2" title=command-facet-Action>Action</a> of the
- command depends on its <a href="#type21"
- title=command-facet-Type>Type</a>. If the command is of <a href="#type21"
+ command depends on its <a href="#type22"
+ title=command-facet-Type>Type</a>. If the command is of <a href="#type22"
title=command-facet-Type>Type</a> "radio" then this must set the <code
title=dom-option-selected>selected</code> DOM attribute of the <code><a
href="#option">option</a></code> element to true, otherwise it must toggle
@@ -33333,9 +33422,9 @@
<p>A <code><a href="#command0">command</a></code> element <a
href="#command1" title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a> of the command
+ <p>The <a href="#type22" title=command-facet-Type>Type</a> of the command
is "radio" if the <code><a href="#command0">command</a></code>'s <code
- title=attr-command-type><a href="#type15">type</a></code> attribute is
+ title=attr-command-type><a href="#type16">type</a></code> attribute is
"<code>radio</code>", "checkbox" if the attribute's value is
"<code>checkbox</code>", and "command" otherwise.
@@ -33372,9 +33461,9 @@
title=attr-command-disabled><a href="#disabled9">disabled</a></code>
attribute, and false otherwise.
- <p>The <a href="#checked4" title=command-facet-CheckedState>Checked
+ <p>The <a href="#checked6" title=command-facet-CheckedState>Checked
State</a> of the command is true (checked) if the element has a <code
- title=attr-command-checked><a href="#checked2">checked</a></code>
+ title=attr-command-checked><a href="#checked4">checked</a></code>
attribute, and false otherwise.
<p>The <a href="#action2" title=command-facet-Action>Action</a> of the
@@ -33392,7 +33481,7 @@
<p>A <code><a href="#bb">bb</a></code> element always <a href="#command1"
title=concept-command>defines a command</a>.
- <p>The <a href="#type21" title=command-facet-Type>Type</a> of the command
+ <p>The <a href="#type22" title=command-facet-Type>Type</a> of the command
is "command".
<p>The <a href="#id1" title=command-facet-ID>ID</a> of the command is the
@@ -33405,14 +33494,14 @@
href="#textcontent">textContent</a></code> DOM attribute, if that is not
the empty string, or a user-agent-defined string appropriate for the
<code><a href="#bb">bb</a></code> element's <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state.
+ href="#type18">type</a></code> attribute's state.
<p>The <a href="#hint" title=command-facet-Hint>Hint</a> of the command is
the value of the <code title=attr-title><a href="#title">title</a></code>
attribute of the element. If the attribute is not present, the <a
href="#hint" title=command-facet-Hint>Hint</a> is a user-agent-defined
string appropriate for the <code><a href="#bb">bb</a></code> element's
- <code title=attr-bb-type><a href="#type17">type</a></code> attribute's
+ <code title=attr-bb-type><a href="#type18">type</a></code> attribute's
state.
<p>The <a href="#icon1" title=command-facet-Icon>Icon</a> of the command is
@@ -33424,12 +33513,12 @@
Otherwise, the <a href="#icon1" title=command-facet-Icon>Icon</a> is a
user-agent-defined image appropriate for the <code><a
href="#bb">bb</a></code> element's <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state.
+ href="#type18">type</a></code> attribute's state.
<p>The <a href="#hidden2" title=command-facet-HiddenState>Hidden State</a>
facet of the command is true (hidden) if the <code><a
href="#bb">bb</a></code> element's <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state is <i
+ href="#type18">type</a></code> attribute's state is <i
title=attr-bb-type-null-state><a href="#null">null</a></i> or if the
element has a <code title=attr-hidden><a href="#hidden4">hidden</a></code>
attribute, and false otherwise.
@@ -33437,16 +33526,16 @@
<p>The <a href="#disabled12" title=command-facet-DisabledState>Disabled
State</a> facet of the command is true if the <code><a
href="#bb">bb</a></code> element's <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state's <i>relevance</i> is
+ href="#type18">type</a></code> attribute's state's <i>relevance</i> is
false, and true otherwise.
- <p>The <a href="#checked4" title=command-facet-CheckedState>Checked
+ <p>The <a href="#checked6" title=command-facet-CheckedState>Checked
State</a> of the command is always false. (The command is never checked.)
<p>The <a href="#action2" title=command-facet-Action>Action</a> of the
command is to perform the <i>action</i> of the <code><a
href="#bb">bb</a></code> element's <code title=attr-bb-type><a
- href="#type17">type</a></code> attribute's state.
+ href="#type18">type</a></code> attribute's state.
<h3 id=datatemplate><span class=secno>4.12 </span>Data Templates</h3>
@@ -41334,12 +41423,12 @@
must use only language information associated with the resource to
determine its language, not metadata included in the link to the resource.
- <p>The <dfn id=type22 title=attr-hyperlink-type><code>type</code></dfn>
+ <p>The <dfn id=type23 title=attr-hyperlink-type><code>type</code></dfn>
attribute, if present, gives the MIME type of the linked resource. It is
purely advisory. The value must be a valid MIME type, optionally with
parameters. <a href="#refsRFC2046">[RFC2046]</a> User agents must not
consider the <code title=attr-hyperlink-type><a
- href="#type22">type</a></code> attribute authoritative — upon
+ href="#type23">type</a></code> attribute authoritative — upon
fetching the resource, user agents must not use metadata included in the
link to the resource to determine its type.
@@ -41863,7 +41952,7 @@
<p>The nature of the referenced document is given by the <code
title=attr-hyperlink-media><a href="#media14">media</a></code>, <code
title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>,
- and <code title=attr-hyperlink-type><a href="#type22">type</a></code>
+ and <code title=attr-hyperlink-type><a href="#type23">type</a></code>
attributes.
<p>If the <code title=rel-alternate><a
@@ -41881,14 +41970,14 @@
<p>If the <code title=rel-alternate><a
href="#alternate">alternate</a></code> keyword is used with the <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attribute, it
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attribute, it
indicates that the referenced document is a reformulation of the current
document in the specified format.
<p>The <code title=attr-hyperlink-media><a
href="#media14">media</a></code>, <code title=attr-hyperlink-hreflang><a
href="#hreflang3">hreflang</a></code>, and <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attributes can
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attributes can
be combined when specified with the <code title=rel-alternate><a
href="#alternate">alternate</a></code> keyword.
@@ -41901,7 +41990,7 @@
<p>If the <code title=rel-alternate><a
href="#alternate">alternate</a></code> keyword is used with the <code
- title=attr-hyperlink-type><a href="#type22">type</a></code> attribute set
+ title=attr-hyperlink-type><a href="#type23">type</a></code> attribute set
to the value <code title="">application/rss+xml</code> or the value <code
title="">application/atom+xml</code>, then the user agent must treat the
link as it would if it had the <code title=rel-feed><a
@@ -43703,15 +43792,15 @@
<p>When an <a href="#editable0">editable</a> form control is edited, the
changes must be reflected in both its current value <em>and</em> its
default value. For <code><a href="#input0">input</a></code> elements
- this means updating the <code
- title=dom-input-defaultValue>defaultValue</code> DOM attribute as well
- as the <code title=dom-input-value>value</code> DOM attribute; for
- <code><a href="#select">select</a></code> elements it means updating the
- <code><a href="#option">option</a></code> elements' <code
- title=dom-option-defaultSelected>defaultSelected</code> DOM attribute as
- well as the <code title=dom-option-selected>selected</code> DOM
- attribute; for <code><a href="#textarea">textarea</a></code> elements
- this means updating the <code
+ this means updating the <code title=dom-input-defaultValue><a
+ href="#defaultvalue">defaultValue</a></code> DOM attribute as well as
+ the <code title=dom-input-value><a href="#value8">value</a></code> DOM
+ attribute; for <code><a href="#select">select</a></code> elements it
+ means updating the <code><a href="#option">option</a></code> elements'
+ <code title=dom-option-defaultSelected>defaultSelected</code> DOM
+ attribute as well as the <code title=dom-option-selected>selected</code>
+ DOM attribute; for <code><a href="#textarea">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 attribute.
(Updating the <code title="">default*</code> DOM attributes causes
@@ -46259,7 +46348,7 @@
addresses can have multiple clients (due to sharing a proxy server). It is
better to include a unique identifier in the document when it is served
and then pass that identifier as part of the URL in the <code
- title=attr-eventsource-src><a href="#src11">src</a></code> attribute of
+ title=attr-eventsource-src><a href="#src13">src</a></code> attribute of
the <code><a href="#eventsource">eventsource</a></code> element.
<p>Implementations that support HTTP's per-server connection limitation
@@ -48245,9 +48334,9 @@
(<code>></code>) characters, and must not be the empty string.</p>
<div class=example>
- <p>In the following example, the <code
- title=attr-input-value>value</code> attribute is given with the
- unquoted attribute value syntax:</p>
+ <p>In the following example, the <code title=attr-input-value><a
+ href="#value7">value</a></code> attribute is given with the unquoted
+ attribute value syntax:</p>
<pre><input <em>value=yes</em>></pre>
</div>
Modified: source
===================================================================
--- source 2008-09-16 21:28:42 UTC (rev 2196)
+++ source 2008-09-16 21:52:52 UTC (rev 2197)
@@ -24461,6 +24461,75 @@
<span>form owner</span>. The <code title="attr-fe-name">name</code>
attribute represents the element's name.</p>
+ <p class="big-issue">... <dfn title="attr-input-autofocus"><code>autofocus</code></dfn></p>
+
+ <p class="big-issue">... <code title="attr-fe-disabled">disabled</code></p>
+
+ <p>The semantics and processing rules of the <dfn
+ title="attr-input-accept"><code>accept</code></dfn>, <dfn
+ title="attr-input-alt"><code>alt</code></dfn>, <dfn
+ title="attr-input-autocomplete"><code>autocomplete</code></dfn>,
+ <dfn title="attr-input-checked"><code>checked</code></dfn>, <dfn
+ title="attr-input-inputmode"><code>inputmode</code></dfn>, <dfn
+ title="attr-input-list"><code>list</code></dfn>, <dfn
+ title="attr-input-max"><code>max</code></dfn>, <dfn
+ title="attr-input-maxlength"><code>maxlength</code></dfn>, <dfn
+ title="attr-input-min"><code>min</code></dfn>, <dfn
+ title="attr-input-pattern"><code>pattern</code></dfn>, <dfn
+ title="attr-input-readonly"><code>readonly</code></dfn>, <dfn
+ title="attr-input-required"><code>required</code></dfn>, <dfn
+ title="attr-input-size"><code>size</code></dfn>, <dfn
+ title="attr-input-src"><code>src</code></dfn>, <dfn
+ title="attr-input-step"><code>step</code></dfn>, and <dfn
+ title="attr-input-value"><code>value</code></dfn> attributes depend
+ on the state of the <code title="attr-input-type">type</code>
+ attribute, and are defined in the sections below.</p>
+
+ <p>The <code title="attr-fs-target">target</code>, <code
+ title="attr-fs-method">method</code>, <code
+ title="attr-fs-enctype">enctype</code>, and <code
+ title="attr-fs-action">action</code> attributes are used in
+ <span>form submission</span> when the <code
+ title="attr-input-type">type</code> attribute is in one of the <span
+ title="attr-input-type-submit">Submit Button</span> or <span
+ title="attr-input-type-image">Image Button</span> states.</p>
+
+ <p>The <dfn title="dom-input-accept"><code>accept</code></dfn>, <dfn
+ title="dom-input-alt"><code>alt</code></dfn>, <dfn
+ title="dom-input-autocomplete"><code>autocomplete</code></dfn>, <dfn
+ title="dom-input-autofocus"><code>autofocus</code></dfn>, <dfn
+ title="dom-input-inputmode"><code>inputmode</code></dfn>, <dfn
+ title="dom-input-max"><code>max</code></dfn>, <dfn
+ title="dom-input-min"><code>min</code></dfn>, <dfn
+ title="dom-input-pattern"><code>pattern</code></dfn>, <dfn
+ title="dom-input-required"><code>required</code></dfn>, <dfn
+ title="dom-input-size"><code>size</code></dfn>, <dfn
+ title="dom-input-src"><code>src</code></dfn>, <dfn
+ title="dom-input-step"><code>step</code></dfn>, and <dfn
+ title="dom-input-type"><code>type</code></dfn> DOM attributes must
+ <span>reflect</span> the content attributes with the same names.</p>
+
+ <p>The <dfn title="dom-input-maxLength"><code>maxLength</code></dfn>
+ DOM attribute must <span>reflect</span> the <code
+ title="attr-input-maxlength">maxlength</code> content attribute. The
+ <dfn title="dom-input-readOnly"><code>readOnly</code></dfn> DOM
+ attribute must <span>reflect</span> the <code
+ title="attr-input-readonly">readonly</code> content attribute. The
+ <dfn
+ title="dom-input-defaultChecked"><code>defaultChecked</code></dfn>
+ DOM attribute must <span>reflect</span> the <code
+ title="attr-input-checked">checked</code> content attribute. The
+ <dfn title="dom-input-defaultValue"><code>defaultValue</code></dfn>
+ DOM attribute must <span>reflect</span> the <code
+ title="attr-input-value">value</code> content attribute.</p>
+
+ <p class="big-issue">... <dfn title="dom-input-checked"><code>checked</code></dfn></p>
+ <p class="big-issue">... <dfn title="dom-input-value"><code>value</code></dfn></p>
+ <p class="big-issue">... <dfn title="dom-input-valueAsDate"><code>valueAsDate</code></dfn></p>
+ <p class="big-issue">... <dfn title="dom-input-valueAsNumber"><code>valueAsNumber</code></dfn></p>
+ <p class="big-issue">... <dfn title="dom-input-list"><code>list</code></dfn></p>
+ <p class="big-issue">... <dfn title="dom-input-selectedOption"><code>selectedOption</code></dfn></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>
@@ -24470,12 +24539,8 @@
title="dom-cva-setCustomValidity">setCustomValidity()</code>
methods, are part of the <span>constraint validation API</span>.</p>
- <p>The semantics and processing rules of the other attributes depend
- on the state of the <code title="attr-input-type">type</code>
- attribute, and are defined in the sections below.</p>
-
<h5><dfn title="attr-input-type-text">Text</dfn> State</h5>
<p>When an <code>input</code> element's <code title="attr-input-type">type</code>
More information about the Commit-Watchers
mailing list