Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 3a814755d7063086c16088f52dbb1025f3559522..deb81cfceb5027addc30ef972b19533426a21b33 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -1497,10 +1497,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 mousemove event as per spec, |
+ // irrespective of event is cancelled or not there should be no differenece |
+ return handleMouseDraggedEvent(mev); |
} |
void EventHandler::invalidateClick() |