Skip to content

Commit

Permalink
Unset stop propagation flags after dispatch
Browse files Browse the repository at this point in the history
Fixes #219.
  • Loading branch information
annevk committed Aug 15, 2016
1 parent 6b1b1da commit 806d4aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,8 @@ for discussion).
<b>item</b> with <var>event</var>.
</ol>

<li><p>Unset <var>event</var>'s <a>dispatch flag</a>.
<li><p>Unset <var>event</var>'s <a>dispatch flag</a>, <a>stop propagation flag</a>, and
<a>stop immediate propagation flag</a>.

<li><p>Set <var>event</var>'s {{Event/eventPhase}} attribute to {{Event/NONE}}.

Expand Down
2 changes: 1 addition & 1 deletion dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ <h3 class="heading settled" data-level="3.8" id="dispatching-events"><span class
<p>If either <var>event</var>’s <code class="idl"><a data-link-type="idl" href="#dom-event-eventphase">eventPhase</a></code> attribute is <code class="idl"><a data-link-type="idl" href="#dom-event-bubbling_phase">BUBBLING_PHASE</a></code> and <var>event</var>’s <code class="idl"><a data-link-type="idl" href="#dom-event-bubbles">bubbles</a></code> attribute is true or <var>event</var>’s <code class="idl"><a data-link-type="idl" href="#dom-event-eventphase">eventPhase</a></code> attribute is <code class="idl"><a data-link-type="idl" href="#dom-event-at_target">AT_TARGET</a></code>, then <a data-link-type="dfn" href="#concept-event-listener-invoke">invoke</a> <var>tuple</var>’s <b>item</b> with <var>event</var>. </p>
</ol>
<li>
<p>Unset <var>event</var>’s <a data-link-type="dfn" href="#dispatch-flag">dispatch flag</a>. </p>
<p>Unset <var>event</var>’s <a data-link-type="dfn" href="#dispatch-flag">dispatch flag</a>, <a data-link-type="dfn" href="#stop-propagation-flag">stop propagation flag</a>, and <a data-link-type="dfn" href="#stop-immediate-propagation-flag">stop immediate propagation flag</a>. </p>
<li>
<p>Set <var>event</var>’s <code class="idl"><a data-link-type="idl" href="#dom-event-eventphase">eventPhase</a></code> attribute to <code class="idl"><a data-link-type="idl" href="#dom-event-none">NONE</a></code>. </p>
<li>
Expand Down

0 comments on commit 806d4aa

Please sign in to comment.