Navigation Menu

Skip to content

Commit

Permalink
[e] (0) Clarify how events propagate to Window.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3565 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 8, 2009
1 parent ebc2bb0 commit b631c5c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions index
Expand Up @@ -48495,13 +48495,15 @@ interface <dfn id=function>Function</dfn> {
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>

Expand Down
12 changes: 7 additions & 5 deletions source
Expand Up @@ -54825,13 +54825,15 @@ interface <dfn>Function</dfn> {

<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>

Expand Down

0 comments on commit b631c5c

Please sign in to comment.