Bug 122203

Summary: Move mouse event dispatch from Node to Element.
Product: WebKit Reporter: Andreas Kling <kling>
Component: UI EventsAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, eflews.bot, gyuyoung.kim, kling, webkit-ews
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
andersca: review+, webkit-ews: commit-queue-
Patch for landing with SVG build fix none

Andreas Kling
Reported 2013-10-01 20:28:00 PDT
We don't dispatch mouse events on nodes.
Attachments
Patch (28.97 KB, patch)
2013-10-01 20:36 PDT, Andreas Kling
andersca: review+
webkit-ews: commit-queue-
Patch for landing with SVG build fix (29.18 KB, patch)
2013-10-01 20:48 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-10-01 20:36:02 PDT
Early Warning System Bot
Comment 2 2013-10-01 20:43:27 PDT
Early Warning System Bot
Comment 3 2013-10-01 20:45:15 PDT
Darin Adler
Comment 4 2013-10-01 20:46:10 PDT
Comment on attachment 213146 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=213146&action=review > Source/WebCore/page/EventHandler.cpp:2247 > m_instanceUnderMouse = instanceAssociatedWithShadowTreeElement(result); This needs to be targetElement instead of result.
Andreas Kling
Comment 5 2013-10-01 20:46:43 PDT
(In reply to comment #4) > (From update of attachment 213146 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=213146&action=review > > > Source/WebCore/page/EventHandler.cpp:2247 > > m_instanceUnderMouse = instanceAssociatedWithShadowTreeElement(result); > > This needs to be targetElement instead of result. Awkward. :|
EFL EWS Bot
Comment 6 2013-10-01 20:47:55 PDT
Andreas Kling
Comment 7 2013-10-01 20:48:28 PDT
Created attachment 213148 [details] Patch for landing with SVG build fix
WebKit Commit Bot
Comment 8 2013-10-01 21:18:46 PDT
Comment on attachment 213148 [details] Patch for landing with SVG build fix Clearing flags on attachment: 213148 Committed r156761: <http://trac.webkit.org/changeset/156761>
WebKit Commit Bot
Comment 9 2013-10-01 21:18:49 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.