[Bug 26892] [Shadow]: Consider not using AT_TARGET more than once in the event path

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

--- Comment #1 from Olli Pettay <bugs@pettay.fi> ---
No, events don't appear as bubbling in the scope of the host. What happens
under the host doesn't matter. If a "cancel" is dispatched there, then
it is supposed to look like its target is actually the host.

Capturing event listeners should fire during capture phase, and
phase should be at_target is currentTarget == target.
bubbling event listeners would then fire during bubble phase, and
phase would be at_target when currentTarget == target.

I don't quite see what bubbling actually have to do with your example.
What if web page uses capturing listeners? You'd have the same issue even
if bubbling would stop earlier.

What we may need is some way to say that events x,y,z shouldn't propagate out
from the shadow dom, either in capture or bubble phase.

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

Received on Tuesday, 23 September 2014 16:26:38 UTC