Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 0e5258524a55d2ee8cfadc4ee43cb5c09d6bf6db..f376e013b049d4803ab217aeca29d1c3ed974cd2 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -1499,10 +1499,11 @@ bool EventHandler::handleMouseMoveOrLeaveEvent(const PlatformMouseEvent& mouseEv |
return true; |
swallowEvent = !dispatchMouseEvent(EventTypeNames::mousemove, mev.innerNode(), 0, mouseEvent, true); |
- if (!swallowEvent) |
- swallowEvent = handleMouseDraggedEvent(mev); |
- return swallowEvent; |
+ // http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mousemove |
+ // Since there is no default action for the mousemove event issue a |
+ // mouse dragged event irrespective of whether the event is cancelled. |
+ return handleMouseDraggedEvent(mev); |
} |
void EventHandler::invalidateClick() |