Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index f376e013b049d4803ab217aeca29d1c3ed974cd2..0e5258524a55d2ee8cfadc4ee43cb5c09d6bf6db 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -1499,11 +1499,10 @@ |
return true; |
swallowEvent = !dispatchMouseEvent(EventTypeNames::mousemove, mev.innerNode(), 0, mouseEvent, true); |
- |
- // 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); |
+ if (!swallowEvent) |
+ swallowEvent = handleMouseDraggedEvent(mev); |
+ |
+ return swallowEvent; |
} |
void EventHandler::invalidateClick() |