- From: <bugzilla@jessica.w3.org>
- Date: Wed, 13 Mar 2013 22:26:38 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21269 --- Comment #3 from Daniel Freedman <dfreedm@chromium.org> --- (In reply to comment #2) > 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? This is a good point. I think that you are correct that events like "focus" need to fire at the host as well. For any events that a developer does not want to "leak" out of the Shadow, they should set the stop propagation flag. Perhaps this note should be added to the spec? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 13 March 2013 22:26:39 UTC