[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 #19 from Olli Pettay <bugs@pettay.fi> ---
(In reply to Steve Orvell from comment #14)

> fancy-list
>   SR
>     <fancy-decoration>
>       <content onclick="handler()"></content>
>     </fancy-decoration>
> 
> I know that fancy-decoration will show my list items and it looks nice so it
> makes fancy-list better. 
> 

You should add listener to SR or somewhere, higher up in the propagation path.


> Now I'm stuck because fancy-list unexpectedly stopped working. If I move the
> event listener, it'll work, but do we really expect developers to understand
> that they need to do this? This seems pretty arcane.
It is really really odd if developer needs to put listener to <content> and
putting the
listener to the parent wouldn't work.

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

Received on Thursday, 28 November 2013 16:05:06 UTC