W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: Tweak how things are defined for <output>'s reset algorithm so that it avoids confusion with respect to mutation events. (whatwg r5058)

From: poot <cvsmail@w3.org>
Date: Fri, 16 Apr 2010 09:59:01 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100416005902.20B4B2BCBD@toro.w3.mag.keio.ac.jp>
hixie: Tweak how things are defined for <output>'s reset algorithm so
that it avoids confusion with respect to mutation events. (whatwg r5058)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4062&r2=1.4063&f=h
http://html5.org/tools/web-apps-tracker?from=5057&to=5058

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4062
retrieving revision 1.4063
diff -u -d -r1.4062 -r1.4063
--- Overview.html	15 Apr 2010 19:16:33 -0000	1.4062
+++ Overview.html	16 Apr 2010 00:58:45 -0000	1.4063
@@ -285,7 +285,7 @@
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-15-april-2010">Editor's Draft 15 April 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-16-april-2010">Editor's Draft 16 April 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -392,7 +392,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 15 April 2010 Editor's Draft.
+  This specification is the 16 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   specification</a> published by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -32846,19 +32846,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
@@ -32868,11 +32869,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><dl class="domintro"><dt><var title="">output</var> . <code title="dom-output-value"><a href="#dom-output-value">value</a></code> [ = <var title="">value</var> ]</dt>
Received on Friday, 16 April 2010 00:59:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:19 GMT