[Bug 21269] [Shadow]: Should Non-bubbling events in ShadowRoot children trigger listeners on Host?

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

--- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> ---
The interesting bit in the fiddle for me is that the listener is invoked at the
AT_TARGET phase, and that seems reasonable, at least for bubbling events.

For example, suppose a user clicks on a <video> element's play button, which is
in a shadow tree. It seems that if the user also registered an event listener
on <video>, they should hear this click at the AT_TARGET phase with <video> as
target, since to the user, the whole <video> is an opaque thing.

Things get murky when we start considering non-bubbling events. If a
non-bubbling event like focus is fired on that same play button, should <video>
invoke the corresponding listener at the AT_TARGET phase?

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

Received on Wednesday, 13 March 2013 19:58:33 UTC