Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) WF2: Try moving some more stuff around in the <input> section,…
… maybe this will work better.

git-svn-id: http://svn.whatwg.org/webapps@2203 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 17, 2008
1 parent fae5f4c commit 0d90b02
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 64 deletions.
109 changes: 64 additions & 45 deletions index
Expand Up @@ -1107,6 +1107,9 @@
</span>The <code
title=attr-input-autocomplete>autocomplete</code> attribute</a>
</ul>

<li><a href="#common4"><span class=secno>4.9.4.3. </span>Common
<code>input</code> element APIs</a>
</ul>

<li><a href="#the-button"><span class=secno>4.9.5 </span>The
Expand Down Expand Up @@ -5375,7 +5378,7 @@
<p>In addition, an interface with a complement of URL decomposition
attributes will define an <dfn id=input
title=concept-uda-input>input</dfn>, which is a <a href="#url">URL</a>
that the attributes act on, and a <dfn id=common4
that the attributes act on, and a <dfn id=common5
title=concept-uda-setter>common setter action</dfn>, which is a set of
steps invoked when any of the attributes' setters are invoked.

Expand All @@ -5400,7 +5403,7 @@
title=concept-uda-input>input</a> URL with the new value; otherwise, the
user agent must let <var title="">output</var> be equal to the <a
href="#input" title=concept-uda-input>input</a>. Finally, the user agent
must invoke the <a href="#common4" title=concept-uda-setter>common setter
must invoke the <a href="#common5" title=concept-uda-setter>common setter
action</a> with the value of <var title="">output</var>.

<p>When replacing a component in the URL, if the component is part of an
Expand Down Expand Up @@ -27112,7 +27115,7 @@ function AddCloud(data, x, y) { ... }</pre>
attribute boolean <a href="#autocomplete" title=dom-input-autocomplete>autocomplete</a>;
attribute boolean <a href="#autofocus" title=dom-input-autofocus>autofocus</a>;
attribute boolean <a href="#defaultchecked" title=dom-input-defaultChecked>defaultChecked</a>;
attribute boolean <a href="#checked" title=dom-input-checked>checked</a>;
attribute boolean <a href="#checked1" 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>;
Expand Down Expand Up @@ -27389,15 +27392,6 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <i>missing value default</i> is the <a href="#text2"
title=attr-input-type-text>Text</a> state.

<p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute
is used to explicitly associate the <code><a
href="#input0">input</a></code> element with its <a
href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
href="#name11">name</a></code> attribute represents the element's name.
The <code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
attribute is used to make the control non-interactive and to prevent its
value from being submitted.

<p>Which of the <code title=attr-input-accept>accept</code>, <code
title=attr-fs-action><a href="#action">action</a></code>, <code
title=attr-input-alt>alt</code>, <code title=attr-input-autocomplete><a
Expand All @@ -27418,8 +27412,30 @@ function AddCloud(data, x, y) { ... }</pre>
href="#target3">target</a></code>, and <code
title=attr-input-value>value</code> attributes apply to an <code><a
href="#input0">input</a></code> element depends on the state of its <code
title=attr-input-type><a href="#type12">type</a></code> attribute. They
are defined below.
title=attr-input-type><a href="#type12">type</a></code> attribute.
Similarly, the <code title=dom-input-checked><a
href="#checked1">checked</a></code>, <code title=dom-input-value><a
href="#value7">value</a></code>, <code title=dom-input-valueAsDate><a
href="#valueasdate">valueAsDate</a></code>, <code
title=dom-input-valueAsNumber><a
href="#valueasnumber">valueAsNumber</a></code>, <code
title=dom-input-list><a href="#list">list</a></code>, and <code
title=dom-input-selectedOption><a
href="#selectedoption">selectedOption</a></code> DOM attributes, and the
<code title=dom-input-stepUp><a href="#stepup">stepUp()</a></code> and
<code title=dom-input-stepDown><a href="#stepdown">stepDown()</a></code>
methods, are specific to certain states.

<hr>

<p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute
is used to explicitly associate the <code><a
href="#input0">input</a></code> element with its <a
href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
href="#name11">name</a></code> attribute represents the element's name.
The <code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
attribute is used to make the control non-interactive and to prevent its
value from being submitted.

<p>The <dfn id=accept title=dom-input-accept><code>accept</code></dfn>,
<dfn id=alt4 title=dom-input-alt><code>alt</code></dfn>, <dfn
Expand Down Expand Up @@ -27453,30 +27469,6 @@ function AddCloud(data, x, y) { ... }</pre>
must <a href="#reflect">reflect</a> the <code
title=attr-input-value>value</code> content attribute.

<p class=big-issue>... <dfn id=checked
title=dom-input-checked><code>checked</code></dfn>

<p class=big-issue>... <dfn id=value7
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=list
title=dom-input-list><code>list</code></dfn>

<p class=big-issue>... <dfn id=selectedoption
title=dom-input-selectedOption><code>selectedOption</code></dfn>

<p class=big-issue>... <dfn id=stepup
title=dom-input-stepUp><code>stepUp()</code></dfn>

<p class=big-issue>... <dfn id=stepdown
title=dom-input-stepDown><code>stepDown()</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
Expand Down Expand Up @@ -27682,7 +27674,7 @@ function AddCloud(data, x, y) { ... }</pre>

<p class=big-issue>...

<p class=big-issue>... <dfn id=checked0
<p class=big-issue>... <dfn id=checked
title=concept-input-checked-checkbox>checked</dfn>

<h6 id=radio><span class=secno>4.9.4.1.15. </span><dfn id=radio1
Expand All @@ -27696,7 +27688,7 @@ function AddCloud(data, x, y) { ... }</pre>

<p class=big-issue>...

<p class=big-issue>... <dfn id=checked1
<p class=big-issue>... <dfn id=checked0
title=concept-input-checked-radio>checked</dfn>

<h6 id=file-state><span class=secno>4.9.4.1.16. </span><dfn id=file0
Expand Down Expand Up @@ -27832,6 +27824,33 @@ rel="" on submit buttons?
accessible, as there are significant security implications for the user if
support for this attribute is disabled.

<h5 id=common4><span class=secno>4.9.4.3. </span>Common <code><a
href="#input0">input</a></code> element APIs</h5>

<p class=big-issue>... <dfn id=checked1
title=dom-input-checked><code>checked</code></dfn>

<p class=big-issue>... <dfn id=value7
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=list
title=dom-input-list><code>list</code></dfn>

<p class=big-issue>... <dfn id=selectedoption
title=dom-input-selectedOption><code>selectedOption</code></dfn>

<p class=big-issue>... <dfn id=stepup
title=dom-input-stepUp><code>stepUp()</code></dfn>

<p class=big-issue>... <dfn id=stepdown
title=dom-input-stepDown><code>stepDown()</code></dfn>

<h4 id=the-button><span class=secno>4.9.5 </span>The <dfn
id=button2><code>button</code></dfn> element</h4>

Expand Down Expand Up @@ -28704,14 +28723,14 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem
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="#checked0"
state and the control is not <a href="#checked"
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="#checked1"
state and the control is not <a href="#checked0"
title=concept-input-checked-radio>checked</a>.

<li>The <var title="">field</var> element is an <code><a
Expand Down Expand Up @@ -31501,15 +31520,15 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html
href="#getcellclasses">getCellClasses()</a></code> method must add the
<code title=datagrid-cell-class-checked><a
href="#checked2">checked</a></code> class if the <code><a
href="#input0">input</a></code> element is <a href="#checked"
href="#input0">input</a></code> element is <a href="#checked1"
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 <a
href="#checked" title=dom-input-checked>state</a> to checked if the
href="#checked1" 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
Expand Down Expand Up @@ -39395,7 +39414,7 @@ style/default.css</pre>
the associated <code>Document</code> object, as an <a
href="#absolute">absolute URL</a> (same as the <code
title=dom-location-href><a href="#href5">href</a></code> attribute), and
the <a href="#common4" title=concept-uda-setter>common setter action</a>
the <a href="#common5" title=concept-uda-setter>common setter action</a>
being the same as setting the <code title=dom-location-href><a
href="#href5">href</a></code> attribute to the new output value.</p>
<!--
Expand Down
51 changes: 32 additions & 19 deletions source
Expand Up @@ -24455,14 +24455,6 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <i>missing value default</i> is the <span
title="attr-input-type-text">Text</span> state.</p>

<p>The <code title="attr-fae-form">form</code> attribute is used to
explicitly associate the <code>input</code> element with its
<span>form owner</span>. The <code title="attr-fe-name">name</code>
attribute represents the element's name. The <code
title="attr-fe-disabled">disabled</code> attribute is used to make
the control non-interactive and to prevent its value from being
submitted.</p>

<p>Which of the <code title="attr-input-accept">accept</code>, <code
title="attr-fs-action">action</code>, <code
title="attr-input-alt">alt</code>, <code
Expand All @@ -24485,8 +24477,26 @@ function AddCloud(data, x, y) { ... }</pre>
title="attr-fs-target">target</code>, and <code
title="attr-input-value">value</code> attributes apply to an
<code>input</code> element depends on the state of its <code
title="attr-input-type">type</code> attribute. They are defined
below.</p>
title="attr-input-type">type</code> attribute. Similarly, the <code
title="dom-input-checked">checked</code>, <code
title="dom-input-value">value</code>, <code
title="dom-input-valueAsDate">valueAsDate</code>, <code
title="dom-input-valueAsNumber">valueAsNumber</code>, <code
title="dom-input-list">list</code>, and <code
title="dom-input-selectedOption">selectedOption</code> DOM
attributes, and the <code title="dom-input-stepUp">stepUp()</code>
and <code title="dom-input-stepDown">stepDown()</code> methods, are
specific to certain states.</p>

<hr>

<p>The <code title="attr-fae-form">form</code> attribute is used to
explicitly associate the <code>input</code> element with its
<span>form owner</span>. The <code title="attr-fe-name">name</code>
attribute represents the element's name. The <code
title="attr-fe-disabled">disabled</code> attribute is used to make
the control non-interactive and to prevent its value from being
submitted.</p>

<p>The <dfn title="dom-input-accept"><code>accept</code></dfn>, <dfn
title="dom-input-alt"><code>alt</code></dfn>, <dfn
Expand Down Expand Up @@ -24517,15 +24527,6 @@ function AddCloud(data, x, y) { ... }</pre>
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 class="big-issue">... <dfn title="dom-input-stepUp"><code>stepUp()</code></dfn></p>
<p class="big-issue">... <dfn title="dom-input-stepDown"><code>stepDown()</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>
Expand Down Expand Up @@ -24863,6 +24864,18 @@ rel="" on submit buttons?



<h5>Common <code>input</code> element APIs</h5>

<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 class="big-issue">... <dfn title="dom-input-stepUp"><code>stepUp()</code></dfn></p>
<p class="big-issue">... <dfn title="dom-input-stepDown"><code>stepDown()</code></dfn></p>




<h4>The <dfn><code>button</code></dfn> element</h4>
Expand Down

0 comments on commit 0d90b02

Please sign in to comment.