[html5] r5058 - [e] (0) Tweak how things are defined for <output>'s reset algorithm so that it a [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 15 17:58:40 PDT 2010


Author: ianh
Date: 2010-04-15 17:58:39 -0700 (Thu, 15 Apr 2010)
New Revision: 5058

Modified:
   complete.html
   index
   source
Log:
[e] (0) Tweak how things are defined for <output>'s reset algorithm so that it avoids confusion with respect to mutation events.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9529

Modified: complete.html
===================================================================
--- complete.html	2010-04-15 19:16:28 UTC (rev 5057)
+++ complete.html	2010-04-16 00:58:39 UTC (rev 5058)
@@ -186,7 +186,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 15 April 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 16 April 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -40438,19 +40438,20 @@
   <a href=#concept-output-mode title=concept-output-mode>value mode flag</a> must be set
   to <i title=concept-output-mode-default>default</i>.</p>
 
-  <p>When the <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> is in mode <i title=concept-output-mode-default>default</i>, the contents of the
-  element represent both the value of the element and its default
-  value. When the <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> is in mode <i title=concept-output-mode-value>value</i>, the contents of the
-  element represent the value of the element only, and the default
-  value is only accessible using the <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code> IDL
-  attribute.</p>
-
   <p>The element also has a <dfn id=concept-output-defaultvalue title=concept-output-defaultValue>default value</dfn>. Initially,
   the <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a>
   must be the empty string.</p>
 
+  <p>When the <a href=#concept-output-mode title=concept-output-mode>value mode flag</a>
+  is in mode <i title=concept-output-mode-default>default</i>, the
+  contents of the element represent both the value of the element and
+  its <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default
+  value</a>. When the <a href=#concept-output-mode title=concept-output-mode>value mode
+  flag</a> is in mode <i title=concept-output-mode-value>value</i>, the contents of the
+  element represent the value of the element only, and the <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a> is only
+  accessible using the <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code> IDL
+  attribute.</p>
+
   <p>Whenever the element's descendants are changed in any way, if the
   <a href=#concept-output-mode title=concept-output-mode>value mode flag</a> is in mode
   <i title=concept-output-mode-default>default</i>, the element's
@@ -40460,11 +40461,11 @@
 
   <p>The <a href=#concept-form-reset-control title=concept-form-reset-control>reset
   algorithm</a> for <code><a href=#the-output-element>output</a></code> elements is to set the
-  element's <code><a href=#textcontent>textContent</a></code> IDL attribute to the value of the
-  element's <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code>
-  IDL attribute (thus replacing the element's child nodes), and then
-  to set the element's <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> to <i title=concept-output-mode-default>default</i>.</p>
+  element's <a href=#concept-output-mode title=concept-output-mode>value mode flag</a>
+  to <i title=concept-output-mode-default>default</i> and then to
+  set the element's <code><a href=#textcontent>textContent</a></code> IDL attribute to the
+  value of the element's <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a> (thus
+  replacing the element's child nodes).</p>
 
   </div>
 

Modified: index
===================================================================
--- index	2010-04-15 19:16:28 UTC (rev 5057)
+++ index	2010-04-16 00:58:39 UTC (rev 5058)
@@ -190,7 +190,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 15 April 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 16 April 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -40339,19 +40339,20 @@
   <a href=#concept-output-mode title=concept-output-mode>value mode flag</a> must be set
   to <i title=concept-output-mode-default>default</i>.</p>
 
-  <p>When the <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> is in mode <i title=concept-output-mode-default>default</i>, the contents of the
-  element represent both the value of the element and its default
-  value. When the <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> is in mode <i title=concept-output-mode-value>value</i>, the contents of the
-  element represent the value of the element only, and the default
-  value is only accessible using the <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code> IDL
-  attribute.</p>
-
   <p>The element also has a <dfn id=concept-output-defaultvalue title=concept-output-defaultValue>default value</dfn>. Initially,
   the <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a>
   must be the empty string.</p>
 
+  <p>When the <a href=#concept-output-mode title=concept-output-mode>value mode flag</a>
+  is in mode <i title=concept-output-mode-default>default</i>, the
+  contents of the element represent both the value of the element and
+  its <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default
+  value</a>. When the <a href=#concept-output-mode title=concept-output-mode>value mode
+  flag</a> is in mode <i title=concept-output-mode-value>value</i>, the contents of the
+  element represent the value of the element only, and the <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a> is only
+  accessible using the <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code> IDL
+  attribute.</p>
+
   <p>Whenever the element's descendants are changed in any way, if the
   <a href=#concept-output-mode title=concept-output-mode>value mode flag</a> is in mode
   <i title=concept-output-mode-default>default</i>, the element's
@@ -40361,11 +40362,11 @@
 
   <p>The <a href=#concept-form-reset-control title=concept-form-reset-control>reset
   algorithm</a> for <code><a href=#the-output-element>output</a></code> elements is to set the
-  element's <code><a href=#textcontent>textContent</a></code> IDL attribute to the value of the
-  element's <code title=dom-output-defaultValue><a href=#dom-output-defaultvalue>defaultValue</a></code>
-  IDL attribute (thus replacing the element's child nodes), and then
-  to set the element's <a href=#concept-output-mode title=concept-output-mode>value mode
-  flag</a> to <i title=concept-output-mode-default>default</i>.</p>
+  element's <a href=#concept-output-mode title=concept-output-mode>value mode flag</a>
+  to <i title=concept-output-mode-default>default</i> and then to
+  set the element's <code><a href=#textcontent>textContent</a></code> IDL attribute to the
+  value of the element's <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a> (thus
+  replacing the element's child nodes).</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2010-04-15 19:16:28 UTC (rev 5057)
+++ source	2010-04-16 00:58:39 UTC (rev 5058)
@@ -45021,23 +45021,24 @@
   <span title="concept-output-mode">value mode flag</span> must be set
   to <i title="concept-output-mode-default">default</i>.</p>
 
-  <p>When the <span title="concept-output-mode">value mode
+  <p>The element also has a <dfn
+  title="concept-output-defaultValue">default value</dfn>. Initially,
+  the <span title="concept-output-defaultValue">default value</span>
+  must be the empty string.</p>
+
+  <p>When the <span title="concept-output-mode">value mode flag</span>
+  is in mode <i title="concept-output-mode-default">default</i>, the
+  contents of the element represent both the value of the element and
+  its <span title="concept-output-defaultValue">default
+  value</span>. When the <span title="concept-output-mode">value mode
   flag</span> is in mode <i
-  title="concept-output-mode-default">default</i>, the contents of the
-  element represent both the value of the element and its default
-  value. When the <span title="concept-output-mode">value mode
-  flag</span> is in mode <i
   title="concept-output-mode-value">value</i>, the contents of the
-  element represent the value of the element only, and the default
-  value is only accessible using the <code
+  element represent the value of the element only, and the <span
+  title="concept-output-defaultValue">default value</span> is only
+  accessible using the <code
   title="dom-output-defaultValue">defaultValue</code> IDL
   attribute.</p>
 
-  <p>The element also has a <dfn
-  title="concept-output-defaultValue">default value</dfn>. Initially,
-  the <span title="concept-output-defaultValue">default value</span>
-  must be the empty string.</p>
-
   <p>Whenever the element's descendants are changed in any way, if the
   <span title="concept-output-mode">value mode flag</span> is in mode
   <i title="concept-output-mode-default">default</i>, the element's
@@ -45047,12 +45048,12 @@
 
   <p>The <span title="concept-form-reset-control">reset
   algorithm</span> for <code>output</code> elements is to set the
-  element's <code>textContent</code> IDL attribute to the value of the
-  element's <code title="dom-output-defaultValue">defaultValue</code>
-  IDL attribute (thus replacing the element's child nodes), and then
-  to set the element's <span title="concept-output-mode">value mode
-  flag</span> to <i
-  title="concept-output-mode-default">default</i>.</p>
+  element's <span title="concept-output-mode">value mode flag</span>
+  to <i title="concept-output-mode-default">default</i> and then to
+  set the element's <code>textContent</code> IDL attribute to the
+  value of the element's <span
+  title="concept-output-defaultValue">default value</span> (thus
+  replacing the element's child nodes).</p>
 
   </div>
 




More information about the Commit-Watchers mailing list