Skip to content

Commit

Permalink
[giow] (2) HTMLInputElement.type should be limited to know values.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5220 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 28, 2010
1 parent 4bd5b3a commit 320d9d1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
12 changes: 8 additions & 4 deletions complete.html
Expand Up @@ -38172,7 +38172,7 @@ <h4 id=the-input-element><span class=secno>4.10.7 </span>The <dfn><code>input</c
the last value it was set to. On setting, it must be set to the new
value. It has no effect except for changing the appearance of <a href=#checkbox-state title=attr-input-type-checkbox>checkbox</a> controls.</p>

<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> IDL attributes must
<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, and <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn> IDL attributes must
<a href=#reflect>reflect</a> the respective content attributes of the same
name. The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute,
Expand All @@ -38183,6 +38183,10 @@ <h4 id=the-input-element><span class=secno>4.10.7 </span>The <dfn><code>input</c
<dfn id=dom-input-defaultvalue title=dom-input-defaultValue><code>defaultValue</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute.</p>

<p>The <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>, <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
methods, are part of the <a href=#the-constraint-validation-api>constraint validation API</a>. The
Expand Down Expand Up @@ -43667,12 +43671,12 @@ <h4 id=the-keygen-element><span class=secno>4.10.14 </span>The <dfn><code>keygen
</dl><div class=impl>

<p>The <dfn id=dom-keygen-challenge title=dom-keygen-challenge><code>challenge</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attributes of the
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>

<p>The <dfn id=dom-keygen-keytype title=dom-keygen-keytype><code>keytype</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the content attributes of
the same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>
IDL attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <dfn id=dom-keygen-type title=dom-keygen-type><code>type</code></dfn> IDL
attribute must return the value "<code title="">keygen</code>".</p>
Expand Down
12 changes: 8 additions & 4 deletions index
Expand Up @@ -38099,7 +38099,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
the last value it was set to. On setting, it must be set to the new
value. It has no effect except for changing the appearance of <a href=#checkbox-state title=attr-input-type-checkbox>checkbox</a> controls.</p>

<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> IDL attributes must
<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, and <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn> IDL attributes must
<a href=#reflect>reflect</a> the respective content attributes of the same
name. The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute,
Expand All @@ -38110,6 +38110,10 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<dfn id=dom-input-defaultvalue title=dom-input-defaultValue><code>defaultValue</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute.</p>

<p>The <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>, <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
methods, are part of the <a href=#the-constraint-validation-api>constraint validation API</a>. The
Expand Down Expand Up @@ -43594,12 +43598,12 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
</dl><div class=impl>

<p>The <dfn id=dom-keygen-challenge title=dom-keygen-challenge><code>challenge</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attributes of the
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>

<p>The <dfn id=dom-keygen-keytype title=dom-keygen-keytype><code>keytype</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the content attributes of
the same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>
IDL attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <dfn id=dom-keygen-type title=dom-keygen-type><code>type</code></dfn> IDL
attribute must return the value "<code title="">keygen</code>".</p>
Expand Down
15 changes: 9 additions & 6 deletions source
Expand Up @@ -42470,9 +42470,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
title="dom-input-placeholder"><code>placeholder</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> IDL attributes must
title="dom-input-src"><code>src</code></dfn>, and <dfn
title="dom-input-step"><code>step</code></dfn> IDL attributes must
<span>reflect</span> the respective content attributes of the same
name. The <dfn
title="dom-input-maxLength"><code>maxLength</code></dfn> IDL
Expand All @@ -42490,6 +42489,10 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
IDL attribute must <span>reflect</span> the <code
title="attr-input-value">value</code> content attribute.</p>

<p>The <dfn title="dom-input-type"><code>type</code></dfn> IDL
attribute must <span>reflect</span> the content attribute of the
same name, <span>limited to only known values</span>.</p>

<p>The <code title="dom-cva-willValidate">willValidate</code>, <code
title="dom-cva-validity">validity</code>, and <code
title="dom-cva-validationMessage">validationMessage</code>
Expand Down Expand Up @@ -48878,12 +48881,12 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<p>The <dfn
title="dom-keygen-challenge"><code>challenge</code></dfn> IDL
attribute must <span>reflect</span> the content attributes of the
attribute must <span>reflect</span> the content attribute of the
same name.</p>

<p>The <dfn title="dom-keygen-keytype"><code>keytype</code></dfn>
IDL attribute must <span>reflect</span> the content attributes of
the same name, <span>limited to only known values</span>.</p>
IDL attribute must <span>reflect</span> the content attribute of the
same name, <span>limited to only known values</span>.</p>

<p>The <dfn title="dom-keygen-type"><code>type</code></dfn> IDL
attribute must return the value "<code title="">keygen</code>".</p>
Expand Down

0 comments on commit 320d9d1

Please sign in to comment.