--- a/html/DOM3-Events.html Fri Apr 10 03:24:35 2009 +0900
+++ b/html/DOM3-Events.html Wed Jun 03 17:47:32 2009 +0900
@@ -104,7 +104,7 @@
<h1 id="Overview-title">Document Object Model (DOM) Level 3 Events Specification</h1>
<h2 id="Overview-version">Version 1.0</h2>
<!-- @@@ -->
- <h2 id="Overview-W3C-doctype">Editor's Draft 28 June 2008</h2>
+ <h2 id="Overview-W3C-doctype">Editor's Draft 3 June 2009</h2>
<dl>
<dt>This version:</dt>
<dd>
@@ -116,13 +116,12 @@
</dd>
<dt>Previous version:</dt>
<dd>
- <a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.15">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.16</a>
+ <a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.20">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.20</a>
</dd>
</dl>
<dl>
<dt>Editors:</dt>
<dd>Doug Schepers, W3C</dd>
- <dd><a href="http://andrew.emmons.com/">Andrew Emmons</a>, <em>Invited Expert</em></dd>
<dd><a href="http://bjoern.hoehrmann.de/">Björn Höhrmann</a> Invited Expert (until December 2007)</dd>
<dd>Philippe Le Hégaret, <em>W3C (until November 2003)</em></dd>
<dd>Tom Pixley, <em>Netscape Communications Corporation (until July 2002)</em></dd>
@@ -193,7 +192,7 @@
</li>
</ul>
<div id="expanded-toc" class="noprint" style="text-align: right">
- <p style="font-family: monospace;font-size:small">January 2008</p>
+ <p style="font-family: monospace;font-size:small">January 2009</p>
</div>
<div class="div1">
<h1 id="expanded-toc-TOC" class="div1">Expanded Table of Contents</h1>
@@ -385,12 +384,12 @@
</div>
<!-- div1 TOC -->
<div id="copyright-notice" class="noprint" style="text-align: right">
- <p style="font-family: monospace;font-size:small">January 2008</p>
+ <p style="font-family: monospace;font-size:small">January 2009</p>
</div>
<div class="div1">
<h1 id="copyright-notice-Copyright-Notice" class="div1">W3C Copyright Notices and Licenses</h1>
<p>
- <strong>Copyright © 2008 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
+ <strong>Copyright © 2009 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
</p>
<p>This document is published under the <a href="#copyright-notice-Copyright-notice-document">W3C<sup>®</sup> Document Copyright Notice and License</a>. The bindings within this document are published under the <a href="#copyright-notice-Copyright-notice-software">W3C<sup>®</sup> Software Copyright Notice and License</a>. The software license requires "Notice of any changes or modifications to the W3C files, including the date changes were made." Consequently, modified versions of the DOM bindings must document that they do not conform to the W3C standard; in the case of the IDL definitions, the pragma prefix can no longer be 'w3c.org'; in the case of the Java language binding, the package names can no longer be in the 'org.w3c' package.</p>
<div class="div2">
@@ -398,7 +397,7 @@
<h2 id="copyright-notice-Copyright-notice-document" class="div2">W3C<sup>®</sup> Document Copyright Notice and License</h2>
<p><strong>Note:</strong> This section is a copy of the W3C<sup>®</sup> Document Notice and License and could be found at <a class="normative" href="http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231">http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</a>.</p>
<p>
- <strong>Copyright © 2008 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
+ <strong>Copyright © 2009 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
</p>
<p>
<strong>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</strong>
@@ -422,7 +421,7 @@
<h2 id="copyright-notice-Copyright-notice-software" class="div2">W3C<sup>®</sup> Software Copyright Notice and License</h2>
<p><strong>Note:</strong> This section is a copy of the W3C<sup>®</sup> Software Copyright Notice and License and could be found at <a class="normative" href="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</a></p>
<p>
- <strong>Copyright © 2008 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
+ <strong>Copyright © 2009 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
</p>
<p>
<strong>http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</strong>
@@ -443,7 +442,7 @@
<h2 id="copyright-notice-Copyright-short-notice" class="div2">W3C<sup>®</sup> Short Software Notice</h2>
<p><strong>Note:</strong> This section is a copy of the W3C<sup>®</sup> Short Software Notice and could be found at <a class="normative" href="http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231">http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231</a></p>
<p>
- <strong>Copyright © 2008 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
+ <strong>Copyright © 2009 <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.</strong>
</p>
<p>Copyright © [$date-of-software] <a class="normative" href="http://www.w3.org/">World Wide Web Consortium</a>, (<a class="normative" href="http://www.lcs.mit.edu/">Massachusetts Institute of Technology</a>, <a class="normative" href="http://www.ercim.org/">European Research Consortium for Informatics and Mathematics</a>, <a class="normative" href="http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved. This work is distributed under the W3C<sup>®</sup> Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p>[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</p>
@@ -452,7 +451,7 @@
</div>
<!-- div1 Copyright-Notice -->
<div id="events" class="noprint" style="text-align: right">
- <p style="font-family: monospace;font-size:small">January 2008</p>
+ <p style="font-family: monospace;font-size:small">January 2009</p>
</div>
<div class="div1">
<h1 id="events-Events" class="div1">1. Document Object Model Events</h1>
@@ -606,8 +605,10 @@
<p>This section defines the event <a href="#glossary-dt-dispatch">dispatch</a> mechanism of the event model defined in this specification. <span class='assert may'>Applications may dispatch event objects using the <a href="#events-Events-EventTarget-dispatchEvent"><code>EventTarget.dispatchEvent()</code></a> method</span>, and <span class='assert must'>implementations must dispatch event objects as if through this method.</span> The behavior of this method depends on the <em>event flow</em> associated with the underlying object. An event flow describes how event objects <em>propagate</em> through a data structure. As an example, when an event object is dispatched to an element in an XML document, the object propagates through parts of the document, as determined by the DOM event flow which is defined at the end of this section.</p>
<div class="figure" style="text-align: center">
- <img src="images/eventflow.png" alt="graphical representation of an event dispatched in a DOM tree using the DOM event flow" title="graphical representation of an event dispatched in a DOM tree using the DOM event flow"/>
- <p style="text-align:left"><em>Figure: graphical representation of an event dispatched in a DOM tree using the DOM event flow</em> [<a href="images/eventflow.svg">SVG 1.0 version</a>]</p>
+ <object type="image/svg+xml" data="images/eventflow.svg">
+ <img src="images/eventflow.png" alt="graphical representation of an event dispatched in a DOM tree using the DOM event flow" title="graphical representation of an event dispatched in a DOM tree using the DOM event flow"/>
+ </object>
+ <p style="text-align:left"><em>Figure: graphical representation of an event dispatched in a DOM tree using the DOM event flow</em></p>
</div>
<p>Event objects are always dispatched to a node called the <em>event target</em>. <span class='assert must'>At the beginning of the dispatch, implementations must first determine the event object's <em>propagation path</em>. The propagation path is an ordered list of event targets through which the object will pass.</span> The last item in the list is the event target; the preceding items in the list are referred to as the <em>target's ancestors</em>, and the immediately preceding item as the <em>target's parent</em>. <span class='assert mustnot'>Once determined, the propagation path cannot be changed.</span> As an example, in the DOM event flow event listeners might change the position of the target node in the document while the event object is being dispatched; such changes do not affect the propagation path. <span class="issue">What if an element is removed from the document altogether? Is there different behavior if the event target is removed versus one of its ancestors?</span></p>