[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 #48 from Olli Pettay <bugs@pettay.fi> ---
(In reply to Steve Orvell from comment #43) 
> Neither option is acceptable.
> 
> If a listener is added to the shadowRoot, then each handler must start at
> event.target and walk up the tree checking if the element is in the specific
> content's list of distributed nodes. This has a non-trivial cost in code and
> performance.
In other words, is there any real world use case when this would be a
performance issue enough to warrant to inconsistent propagation path.
(inconsistencies make code harder to read and understand, and error prone.)

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

Received on Friday, 21 March 2014 17:22:50 UTC