[Bug 25423] [Shadow]: event.path should return every nodes in the event path, instead of erasing nodes on descendant trees.

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

Rafael Weinstein <rafaelw@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafaelw@chromium.org

--- Comment #12 from Rafael Weinstein <rafaelw@chromium.org> ---
a common pattern of event delegation is to put the delegate (listener) on the
document root, but to mark specific nodes in the document which information
about what to do with the specific event. When the delegate handles the event,
it must inspect the node to retrieve the information (e.g. what method to
invoke on the delegate). 

If the event.path is sanitized on it's way up as the event bubbles, in the
information the document-wide delegate may need is no longer reachable because
it belongs to the a node which has been removed.

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

Received on Thursday, 1 May 2014 17:08:54 UTC