Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[e] (0) Clarify 'do not apply'.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20171
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7716 340c8d12-0b0e-0410-8428-c7bf67bfef74
(cherry picked from commit 569199e)

input elements
  • Loading branch information...
commit 2e0937bcc56adb54223be4d4153108e78bf6fa08 1 parent 35683d7
ianh authored silviapfeiffer committed
Showing with 42 additions and 33 deletions.
  1. +42 −33 source
View
75 source
@@ -52586,7 +52586,13 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
title="dom-input-stepUp">stepUp()</code> and <code title="dom-input-stepDown">stepDown()</code>
methods, and the <code title="event-input-input">input</code> and <code
title="event-input-change">change</code> events apply to an <code>input</code> element depends on
- the state of its <code title="attr-input-type">type</code> attribute. The following table <span
+ the state of its <code title="attr-input-type">type</code> attribute. The subsections that define
+ each type also clearly define in normative "bookkeeping" sections which of these feature apply,
+ and which <dfn>do not apply</dfn>, to each type. The behavior of these features depends on whether
+ they apply or not, as defined in their various sections.</p>
+
+<!--CLEANUP-->
+ <p>The following table <span
class="impl">is non-normative and</span> summarizes which of those content attributes, IDL
attributes, methods, and events apply to each state:</p>
@@ -54028,7 +54034,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -54046,7 +54052,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <code class="no-backref"
title="event-input-input">input</code> and <code class="no-backref"
- title="event-input-change">change</code> events do not apply.</p>
+ title="event-input-change">change</code> events <span>do not apply</span>.</p>
</div>
@@ -54173,7 +54179,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -54284,7 +54290,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -54399,7 +54405,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -54732,7 +54738,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -54834,7 +54840,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -55058,7 +55064,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -55268,7 +55274,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
@@ -55451,7 +55457,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -55637,7 +55643,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -55820,7 +55826,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -55993,7 +55999,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -56161,7 +56167,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -56388,7 +56394,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -56578,7 +56584,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -56709,7 +56715,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
@@ -56873,7 +56879,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
@@ -57098,7 +57104,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The element's <code title="attr-input-value">value</code>
attribute must be omitted.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-list">list</code>,
@@ -57205,7 +57211,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -57223,7 +57229,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <code class="no-backref"
title="event-input-input">input</code> and <code class="no-backref"
- title="event-input-change">change</code> events do not apply.</p>
+ title="event-input-change">change</code> events <span>do not apply</span>.</p>
</div>
@@ -57516,7 +57522,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The element's <code title="attr-input-value">value</code>
attribute must be omitted.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -57534,7 +57540,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <code class="no-backref"
title="event-input-input">input</code> and <code class="no-backref"
- title="event-input-change">change</code> events do not apply.</p>
+ title="event-input-change">change</code> events <span>do not apply</span>.</p>
</div>
@@ -57630,7 +57636,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -57648,7 +57654,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <code class="no-backref"
title="event-input-input">input</code> and <code class="no-backref"
- title="event-input-change">change</code> events do not apply.</p>
+ title="event-input-change">change</code> events <span>do not apply</span>.</p>
</div>
@@ -57720,7 +57726,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="attr-input-step">step</code>, and
<code class="no-backref" title="attr-dim-width">width</code>.</p>
- <p>The following IDL attributes and methods do not apply to the
+ <p>The following IDL attributes and methods <span>do not apply</span> to the
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
@@ -57738,11 +57744,12 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <code class="no-backref"
title="event-input-input">input</code> and <code class="no-backref"
- title="event-input-change">change</code> events do not apply.</p>
+ title="event-input-change">change</code> events <span>do not apply</span>.</p>
</div>
+<!--CLEANUP-->
<div class="impl">
<h5 id="input-impl-notes">Implemention notes regarding localization of form controls</h5>
@@ -57780,7 +57787,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>These attributes only apply to an <code>input</code> element if
its <code title="attr-input-type">type</code> attribute is in a
state whose definition declares that the attribute applies. When an
- attribute <dfn title="do not apply">doesn't apply</dfn> to an
+ attribute <span title="do not apply">doesn't apply</span> to an
<code>input</code> element, user agents must <span>ignore</span> the
attribute, regardless of the requirements and definitions
below.</p>
@@ -58860,9 +58867,10 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<ol>
+<!--CLEANUP-->
<li><p>If the <code title="dom-input-stepDown">stepDown()</code> and
- <code title="dom-input-stepUp">stepUp()</code> methods do not
- apply, as defined for the <code>input</code> element's <code
+ <code title="dom-input-stepUp">stepUp()</code> methods <span>do not
+ apply</span>, as defined for the <code>input</code> element's <code
title="attr-input-type">type</code> attribute's current state, then
throw an <code>InvalidStateError</code> exception, and abort these
steps.</p></li>
@@ -63936,9 +63944,10 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
<div class="impl">
+<!--CLEANUP-->
<p>For <code>input</code> elements, calling these methods while they
- don't apply, and getting or setting these attributes while they
- don't apply, must throw an <code>InvalidStateError</code> exception.
+ <span title="do not apply">don't apply</span>, and getting or setting these attributes while they
+ <span title="do not apply">don't apply</span>, must throw an <code>InvalidStateError</code> exception.
Otherwise, they must act as described below.</p>
<p>For <code>input</code> elements, these methods and attributes
Please sign in to comment.
Something went wrong with that request. Please try again.