[Bug 18780] Fix event dispatching for shadow DOM and <iframe seamless>

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

Anne <annevk@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc
            Summary|Provide a hook for seamless |Fix event dispatching for
                   |event retargetting          |shadow DOM and <iframe
                   |                            |seamless>

--- Comment #13 from Anne <annevk@annevk.nl> ---
I thought I should explain that the reason this is taking ages is because
Shadow DOM has requirements for modifying the dispatch chain as well that are
slightly more involved than the requirements for <iframe>.

Shadow DOM requires that when building the dispatch chain for each node in that
dispatch chain we also cache a target and if the event being dispatched is a
MouseEvent or FocusEvent, a relatedTarget. (For touch events it would be even
more involved I think, but there's no implementation of that yet.)

Given the way Shadow DOM creates this dispatch chain I don't see a clean way of
providing hooks in the DOM that would make all this work neatly together. It
seems the entire algorithm would have to be in the DOM, including the concept
of shadow trees.

Input welcome.

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

Received on Wednesday, 20 February 2013 11:53:55 UTC