Title: [160397] trunk/Source/WebCore
Revision
160397
Author
bda...@apple.com
Date
2013-12-10 16:54:24 -0800 (Tue, 10 Dec 2013)

Log Message

Horizontal rubber-banding without a horizontal scrollbar is distracting
https://bugs.webkit.org/show_bug.cgi?id=125550

Reviewed by Simon Fraser.

Setting the ScrollElasticity to ScrollElasticityAutomatic will make sure we only 
rubber-band horizontally when there is a horizontal scrollbar.

* page/FrameView.cpp:
(WebCore::FrameView::FrameView):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (160396 => 160397)


--- trunk/Source/WebCore/ChangeLog	2013-12-11 00:38:41 UTC (rev 160396)
+++ trunk/Source/WebCore/ChangeLog	2013-12-11 00:54:24 UTC (rev 160397)
@@ -1,3 +1,16 @@
+2013-12-10  Beth Dakin  <bda...@apple.com>
+
+        Horizontal rubber-banding without a horizontal scrollbar is distracting
+        https://bugs.webkit.org/show_bug.cgi?id=125550
+
+        Reviewed by Simon Fraser.
+
+        Setting the ScrollElasticity to ScrollElasticityAutomatic will make sure we only 
+        rubber-band horizontally when there is a horizontal scrollbar.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::FrameView):
+
 2013-12-10  Martin Robinson  <mrobin...@igalia.com>
 
         Correct a preprocessor guard from a mis-merged patch

Modified: trunk/Source/WebCore/page/FrameView.cpp (160396 => 160397)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-12-11 00:38:41 UTC (rev 160396)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-12-11 00:54:24 UTC (rev 160397)
@@ -205,7 +205,7 @@
 
     if (frame.isMainFrame()) {
         ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
-        ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
+        ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAutomatic);
     }
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to