File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -511,6 +511,7 @@ interface Event {
511
511
readonly attribute unsigned short eventPhase;
512
512
513
513
void stopPropagation();
514
+ attribute boolean cancelBubble; // historical alias of .stopPropagation
514
515
void stopImmediatePropagation();
515
516
516
517
readonly attribute boolean bubbles;
@@ -718,6 +719,12 @@ flags that are all initially unset:
718
719
<p> The <dfn method for=Event><code>stopPropagation()</code></dfn> method, when invoked, must set the
719
720
<a>context object</a> 's <a>stop propagation flag</a> .</p>
720
721
722
+ <p> The <dfn attribute for=Event><code>cancelBubble</code></dfn> attribute's getter must return true
723
+ if <a>context object</a> 's <a>stop propagation flag</a> is set, and false otherwise.
724
+
725
+ <p> The {{Event/cancelBubble}} attribute's setter must set <a>context object</a> 's
726
+ <a>stop propagation flag</a> if the given value is true, and do nothing otherwise.
727
+
721
728
<p> The <dfn method for=Event><code>stopImmediatePropagation()</code></dfn> method, when invoked,
722
729
must set <a>context object</a> 's <a>stop propagation flag</a> and <a>context object</a>' s
723
730
<a>stop immediate propagation flag</a> .</p>
You can’t perform that action at this time.
0 commit comments