[Bug 23887] [Shadow] Put only the final destination insertion point to the event path

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887

--- Comment #97 from Boris Zbarsky <bzbarsky@mit.edu> ---
> I can't find something that uses me.

You can, because of capturing listeners.  :(

If in example 2 a capturing listener on ip2 or sr2 calls stopPropagation, the
author of sh1 will see the event hit capturing listeners on ip1 but not hit any
listeners at all on x1.

In fact, even in the spec's setup calling stopPropagation in a capturing
listener on ip2 will mean that sr1 gets the event in the capture phase but then
ip1 and x1 never see it.

The only sane way to avoid composition issues with stopPropagation is to make
stopPropagation tree-local or something...  or something.  Speaking of
complexity.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 29 March 2014 01:36:46 UTC