Skip to content

Commit

Permalink
[e] (0) The definition of elements that are candidates for constraint…
Browse files Browse the repository at this point in the history
… validation should be based on the 'submittable' category, not 'listed', for consistency with the rest of the validation stuff.

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@6889 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 11, 2012
1 parent 4b4cb89 commit a9a9c56
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 47 deletions.
23 changes: 7 additions & 16 deletions complete.html
Expand Up @@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 10 January 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 January 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -42022,10 +42022,6 @@ <h4 id=the-fieldset-element><span class=secno>4.10.4 </span>The <dfn><code>field
<code title=dom-fae-form><a href=#dom-fae-form>form</a></code> and <code title=dom-fe-name><a href=#dom-fe-name>name</a></code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code><a href=#the-fieldset-element>fieldset</a></code>
elements are always <a href=#barred-from-constraint-validation>barred from constraint
validation</a>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -49942,10 +49938,6 @@ <h4 id=the-output-element><span class=secno>4.10.15 </span>The <dfn><code>output
of the element's <code><a href=#the-label-element>label</a></code>s. The <code title=dom-fae-form><a href=#dom-fae-form>form</a></code> and <code title=dom-fe-name><a href=#dom-fe-name>name</a></code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code><a href=#the-output-element>output</a></code>
elements are always <a href=#barred-from-constraint-validation>barred from constraint
validation</a>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -51265,13 +51257,12 @@ <h5 id=definitions><span class=secno>4.10.21.1 </span>Definitions</h5>

<div class=impl>

<p>A <a href=#category-listed title=category-listed>listed form-associated
element</a> is a <dfn id=candidate-for-constraint-validation>candidate for constraint validation</dfn>
except when a condition has <dfn id=barred-from-constraint-validation title="barred from constraint
validation">barred the element from constraint
validation</dfn>. (For example, an element is <a href=#barred-from-constraint-validation>barred from
constraint validation</a> if it is an <code><a href=#the-output-element>output</a></code> or
<code><a href=#the-fieldset-element>fieldset</a></code> element.)</p>
<p>A <a href=#category-submit title=category-submit>submittable element</a> is a
<dfn id=candidate-for-constraint-validation>candidate for constraint validation</dfn> except when a
condition has <dfn id=barred-from-constraint-validation title="barred from constraint validation">barred
the element from constraint validation</dfn>. (For example, an
element is <a href=#barred-from-constraint-validation>barred from constraint validation</a> if it is
an <code><a href=#the-object-element>object</a></code> element.)</p>

<p>An element can have a <dfn id=custom-validity-error-message>custom validity error message</dfn>
defined. Initially, an element must have its <a href=#custom-validity-error-message>custom validity
Expand Down
23 changes: 7 additions & 16 deletions index
Expand Up @@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 10 January 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 January 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -42022,10 +42022,6 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<code title=dom-fae-form><a href=#dom-fae-form>form</a></code> and <code title=dom-fe-name><a href=#dom-fe-name>name</a></code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code><a href=#the-fieldset-element>fieldset</a></code>
elements are always <a href=#barred-from-constraint-validation>barred from constraint
validation</a>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -49942,10 +49938,6 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
of the element's <code><a href=#the-label-element>label</a></code>s. The <code title=dom-fae-form><a href=#dom-fae-form>form</a></code> and <code title=dom-fe-name><a href=#dom-fe-name>name</a></code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code><a href=#the-output-element>output</a></code>
elements are always <a href=#barred-from-constraint-validation>barred from constraint
validation</a>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -51265,13 +51257,12 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

<div class=impl>

<p>A <a href=#category-listed title=category-listed>listed form-associated
element</a> is a <dfn id=candidate-for-constraint-validation>candidate for constraint validation</dfn>
except when a condition has <dfn id=barred-from-constraint-validation title="barred from constraint
validation">barred the element from constraint
validation</dfn>. (For example, an element is <a href=#barred-from-constraint-validation>barred from
constraint validation</a> if it is an <code><a href=#the-output-element>output</a></code> or
<code><a href=#the-fieldset-element>fieldset</a></code> element.)</p>
<p>A <a href=#category-submit title=category-submit>submittable element</a> is a
<dfn id=candidate-for-constraint-validation>candidate for constraint validation</dfn> except when a
condition has <dfn id=barred-from-constraint-validation title="barred from constraint validation">barred
the element from constraint validation</dfn>. (For example, an
element is <a href=#barred-from-constraint-validation>barred from constraint validation</a> if it is
an <code><a href=#the-object-element>object</a></code> element.)</p>

<p>An element can have a <dfn id=custom-validity-error-message>custom validity error message</dfn>
defined. Initially, an element must have its <a href=#custom-validity-error-message>custom validity
Expand Down
21 changes: 6 additions & 15 deletions source
Expand Up @@ -49081,10 +49081,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
title="dom-fe-name">name</code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code>fieldset</code>
elements are always <span>barred from constraint
validation</span>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -58261,10 +58257,6 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
title="dom-fe-name">name</code> IDL attributes are part of the
element's forms API.</p>

<p><strong>Constraint validation</strong>: <code>output</code>
elements are always <span>barred from constraint
validation</span>.</p>

</div>
<!--TOPIC:HTML-->

Expand Down Expand Up @@ -59795,13 +59787,12 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

<div class="impl">

<p>A <span title="category-listed">listed form-associated
element</span> is a <dfn>candidate for constraint validation</dfn>
except when a condition has <dfn title="barred from constraint
validation">barred the element from constraint
validation</dfn>. (For example, an element is <span>barred from
constraint validation</span> if it is an <code>output</code> or
<code>fieldset</code> element.)</p>
<p>A <span title="category-submit">submittable element</span> is a
<dfn>candidate for constraint validation</dfn> except when a
condition has <dfn title="barred from constraint validation">barred
the element from constraint validation</dfn>. (For example, an
element is <span>barred from constraint validation</span> if it is
an <code>object</code> element.)</p>

<p>An element can have a <dfn>custom validity error message</dfn>
defined. Initially, an element must have its <span>custom validity
Expand Down

0 comments on commit a9a9c56

Please sign in to comment.