[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 #11 from Olli Pettay <bugs@pettay.fi> ---
We should aim for clean and consistent APIs. The current event propagation in
shadow DOM isn't such.


What is the real world use case for having non-final insertion points
in the path?

Since an insertion point may not be the final, it is anyway impossible
to know what is happening to the element distributed to insertion points.
The element may be in some totally different place in the final tree than
what the initial shadow tree expects. So I don't quite understand the "preserve
composition properties" argument.


Also, one can always add event listeners to the elements in the
insertionPoint.getDistributedNodes() list.

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

Received on Wednesday, 27 November 2013 11:54:21 UTC