[Webkit-unassigned] [Bug 108047] [Shadow] mouseIsReleasedOnPressedElement in EventHandler should not check ShadowRoot type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 8 17:40:27 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=108047

Daniel Bates <dbates at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dbates at webkit.org
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Daniel Bates <dbates at webkit.org> ---
mouseIsReleasedOnPressedElement() was removed in the patch for bug #145774.

I do not understand the need to special case the logic for dispatching a DOM click event to a user-agent shadow DOM. It seems sufficient to use the same logic for deciding when to dispatch a DOM click event for both kinds of shadow DOM tree so long as we take care to dispatch the DOM click event to the appropriate node. Specifically, we should use the same criterion for determining whether to dispatch a DOM click event for non-shadow tree nodes as we do we shadow tree nodes(*) with the only exception that we explicitly dispatch the click event at the shadow host element if the mouse press and mouse release occur within the same shadow tree and not on the same shadow tree element (which would have been handled by (*)).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150609/7904d45c/attachment.html>


More information about the webkit-unassigned mailing list