[html5] r7344 - [e] (0) Try to merge the fix from w3c bug 18286, but with wording that is consis [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 13 08:30:06 PDT 2012


Author: ianh
Date: 2012-09-13 08:30:04 -0700 (Thu, 13 Sep 2012)
New Revision: 7344

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try to merge the fix from w3c bug 18286, but with wording that 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

Modified: complete.html
===================================================================
--- complete.html	2012-09-13 15:23:57 UTC (rev 7343)
+++ complete.html	2012-09-13 15:30:04 UTC (rev 7344)
@@ -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>
@@ -56751,13 +56751,12 @@
 
     </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>

Modified: index
===================================================================
--- index	2012-09-13 15:23:57 UTC (rev 7343)
+++ index	2012-09-13 15:30:04 UTC (rev 7344)
@@ -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>
@@ -56751,13 +56751,12 @@
 
     </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>

Modified: source
===================================================================
--- source	2012-09-13 15:23:57 UTC (rev 7343)
+++ source	2012-09-13 15:30:04 UTC (rev 7344)
@@ -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>
 
@@ -66249,16 +66249,15 @@
     </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




More information about the Commit-Watchers mailing list