Index: Source/platform/scroll/ScrollableArea.cpp |
diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp |
index 6c202a8dbb4331bf472e1c682f3ab5ea2def1f0f..76c0349565c78f3371e2d4383ac82791ab22a76e 100644 |
--- a/Source/platform/scroll/ScrollableArea.cpp |
+++ b/Source/platform/scroll/ScrollableArea.cpp |
@@ -213,6 +213,10 @@ bool ScrollableArea::scrollBehaviorFromString(const String& behaviorString, Scro |
bool ScrollableArea::handleWheelEvent(const PlatformWheelEvent& wheelEvent) |
{ |
+ // ctrl+wheel events are used to trigger zooming, not scrolling. |
+ if (wheelEvent.modifiers() & PlatformEvent::CtrlKey) |
+ return false; |
+ |
return scrollAnimator()->handleWheelEvent(wheelEvent); |
} |