[html5] r3565 - [e] (0) Clarify how events propagate to Window.

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 8 00:55:34 PDT 2009


Author: ianh
Date: 2009-08-08 00:55:33 -0700 (Sat, 08 Aug 2009)
New Revision: 3565

Modified:
   index
   source
Log:
[e] (0) Clarify how events propagate to Window.

Modified: index
===================================================================
--- index	2009-08-08 07:50:38 UTC (rev 3564)
+++ index	2009-08-08 07:55:33 UTC (rev 3565)
@@ -48495,13 +48495,15 @@
   agent must also dispatch the event to the <code><a href=#window>Window</a></code>, as
   follows:</p>
 
-  <ol><li>In the capture phase, the event must be dispatched to the
-   <code><a href=#window>Window</a></code> object before being dispatched to any of the
-   nodes.</li>
+  <ol><li>In the capture phase, the event must propagate to the
+   <code><a href=#window>Window</a></code> object before propagating to any of the nodes,
+   as if the <code><a href=#window>Window</a></code> object was the parent of the
+   <code>Document</code> in the dispatch chain.</li>
 
-   <li>In the bubble phase, the event must be dispatched to the
+   <li>In the bubble phase, the event must propagate up to the
    <code><a href=#window>Window</a></code> object at the end of the phase, unless bubbling
-   has been prevented.</li>
+   has been prevented, again as if the <code><a href=#window>Window</a></code> object was
+   the parent of the <code>Document</code> in the dispatch chain.</li>
 
   </ol></div>
 

Modified: source
===================================================================
--- source	2009-08-08 07:50:38 UTC (rev 3564)
+++ source	2009-08-08 07:55:33 UTC (rev 3565)
@@ -54825,13 +54825,15 @@
 
   <ol>
 
-   <li>In the capture phase, the event must be dispatched to the
-   <code>Window</code> object before being dispatched to any of the
-   nodes.</li>
+   <li>In the capture phase, the event must propagate to the
+   <code>Window</code> object before propagating to any of the nodes,
+   as if the <code>Window</code> object was the parent of the
+   <code>Document</code> in the dispatch chain.</li>
 
-   <li>In the bubble phase, the event must be dispatched to the
+   <li>In the bubble phase, the event must propagate up to the
    <code>Window</code> object at the end of the phase, unless bubbling
-   has been prevented.</li>
+   has been prevented, again as if the <code>Window</code> object was
+   the parent of the <code>Document</code> in the dispatch chain.</li>
 
   </ol>
 




More information about the Commit-Watchers mailing list