Skip to content

Commit

Permalink
[e] (0) Try to merge the fix from w3c bug 18286, but with wording tha…
Browse files Browse the repository at this point in the history
…t is consistent with the next paragraph and other parts of the spec, and wording that is less ambiguous about what 'while they don't apply' binds to.

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

git-svn-id: http://svn.whatwg.org/webapps@7344 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 13, 2012
1 parent 93810a2 commit 641aada
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 5 additions & 6 deletions complete.html
Expand Up @@ -1594,7 +1594,7 @@ <h6 class=no-toc id=how-do-the-whatwg-and-w3c-specifications-differ?><span class
<li>The W3C HTML specification has slightly less accurate prose,
slightly more inconsistent style, and has some more bugs in
examples in a few places.</li> <!-- checkins for w3c bugs 18269,
18266, 18250, 18222 -->
18266, 18250, 18222, 18286 -->

</ul><p>The following sections are only published in the WHATWG
specifications and are not currently available anywhere else:</p>
Expand Down Expand Up @@ -56751,13 +56751,12 @@ <h4 id=textFieldSelection><span class=secno>4.10.20 </span>APIs for the text fie

</dl></dd>


</dl><div class=impl>

<p>When these methods and attributes are used with
<code><a href=#the-input-element>input</a></code> elements while they don't apply, they must throw
an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. Otherwise, they must
act as described below.</p>
<p>For <code><a href=#the-input-element>input</a></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><a href=#invalidstateerror>InvalidStateError</a></code> exception.
Otherwise, they must act as described below.</p>

<p>For <code><a href=#the-input-element>input</a></code> elements, these methods and attributes
must operate on the element's <a href=#concept-fe-value title=concept-fe-value>value</a>. For <code><a href=#the-textarea-element>textarea</a></code>
Expand Down
11 changes: 5 additions & 6 deletions index
Expand Up @@ -1594,7 +1594,7 @@
<li>The W3C HTML specification has slightly less accurate prose,
slightly more inconsistent style, and has some more bugs in
examples in a few places.</li> <!-- checkins for w3c bugs 18269,
18266, 18250, 18222 -->
18266, 18250, 18222, 18286 -->

</ul><p>The following sections are only published in the WHATWG
specifications and are not currently available anywhere else:</p>
Expand Down Expand Up @@ -56751,13 +56751,12 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>

</dl></dd>


</dl><div class=impl>

<p>When these methods and attributes are used with
<code><a href=#the-input-element>input</a></code> elements while they don't apply, they must throw
an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. Otherwise, they must
act as described below.</p>
<p>For <code><a href=#the-input-element>input</a></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><a href=#invalidstateerror>InvalidStateError</a></code> exception.
Otherwise, they must act as described below.</p>

<p>For <code><a href=#the-input-element>input</a></code> elements, these methods and attributes
must operate on the element's <a href=#concept-fe-value title=concept-fe-value>value</a>. For <code><a href=#the-textarea-element>textarea</a></code>
Expand Down
11 changes: 5 additions & 6 deletions source
Expand Up @@ -313,7 +313,7 @@
<li>The W3C HTML specification has slightly less accurate prose,
slightly more inconsistent style, and has some more bugs in
examples in a few places.</li> <!-- checkins for w3c bugs 18269,
18266, 18250, 18222 -->
18266, 18250, 18222, 18286 -->

</ul>

Expand Down Expand Up @@ -66249,16 +66249,15 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
</dl>

</dd>
<!--START w3c-html-->

</dl>

<div class="impl">

<p>When these methods and attributes are used with
<code>input</code> elements while they don't apply, they must throw
an <code>InvalidStateError</code> exception. Otherwise, they must
act as described below.</p>
<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.
Otherwise, they must act as described below.</p>

<p>For <code>input</code> elements, these methods and attributes
must operate on the element's <span
Expand Down

0 comments on commit 641aada

Please sign in to comment.