Changeset 172832 in webkit
- Timestamp:
- Aug 21, 2014, 1:08:57 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r172828 r172832 1 2014-08-21 Beth Dakin <bdakin@apple.com> 2 3 overflow:scroll elements should support rubber-banding 4 https://bugs.webkit.org/show_bug.cgi?id=91655 5 6 Reviewed by Sam Weinig and Darin Adler. 7 8 Re-baseline. Mostly these tests are different now that end end event is handled. 9 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt: 10 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt: 11 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt: 12 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt: 13 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt: 14 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt: 15 * platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt: 16 17 This test requires a longer timeout to ensure that the rubber-band has ended. 18 * platform/mac/fast/scrolling/scroll-latched-nested-div.html: 19 1 20 2014-08-21 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> 2 21 -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt
r169700 r172832 56 56 Mouse moved to (28, 475) 57 57 Page before: 0, div before: 586 58 Page after: 0, div after: 6 6658 Page after: 0, div after: 656 59 59 PASS Page did not receive wheel events. 60 60 (GraphicsLayer -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt
r169700 r172832 56 56 Mouse moved to (28, 475) 57 57 Page before: 0, div before: 586 58 Page after: 0, div after: 6 6658 Page after: 0, div after: 656 59 59 PASS Page did not receive wheel events. 60 Document was initial target for 8of the wheel events.60 Document was initial target for 10 of the wheel events. 61 61 (GraphicsLayer 62 62 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt
r169700 r172832 57 57 Page after: 70, div after: 0 58 58 PASS Scrollable div did not receive wheel events. 59 Document was initial target for 8of the wheel events.59 Document was initial target for 10 of the wheel events. 60 60 (GraphicsLayer 61 61 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt
r169700 r172832 14 14 Page after: 0, IFrame after: 496 15 15 PASS Page did not receive wheel events. 16 Document was initial target for 0of the wheel events.16 Document was initial target for 2 of the wheel events. 17 17 (GraphicsLayer 18 18 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt
r169700 r172832 13 13 Page after: 70, IFrame after: 0 14 14 PASS IFrame did not receive wheel events. 15 Document was initial target for 8of the wheel events.15 Document was initial target for 10 of the wheel events. 16 16 (GraphicsLayer 17 17 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt
r169700 r172832 15 15 Page after: 70, select after: 0 16 16 PASS Select did not receive wheel events. 17 Document was initial target for 8of the wheel events.17 Document was initial target for 10 of the wheel events. 18 18 (GraphicsLayer 19 19 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt
r169700 r172832 16 16 Page after: 0, select after: 140 17 17 PASS Page did not receive wheel events. 18 Document was initial target for 8of the wheel events.18 Document was initial target for 10 of the wheel events. 19 19 (GraphicsLayer 20 20 (anchor 0.00 0.00) -
trunk/LayoutTests/platform/mac/fast/scrolling/scroll-latched-nested-div.html
r172160 r172832 104 104 eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, 'none', 'continue', true); 105 105 eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, 'none', 'end', true); 106 setTimeout(checkForSecondScroll, 100); 106 // The timeout used to be only 100, but when we added support for rubber-banding in overflow 107 // areas, we found we had to increase the timeout to allow the rubber-band to finish. 108 setTimeout(checkForSecondScroll, 1000); 107 109 } 108 110 … … 134 136 eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -5, 'none', 'continue', true); 135 137 eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, 'none', 'end', true); 136 setTimeout(checkForFirstScroll, 100); 138 // The timeout used to be only 100, but when we added support for rubber-banding in overflow 139 // areas, we found we had to increase the timeout to allow the rubber-band to finish. 140 setTimeout(checkForFirstScroll, 1000); 137 141 } 138 142 -
trunk/Source/WebCore/ChangeLog
r172831 r172832 1 2014-08-21 Beth Dakin <bdakin@apple.com> 2 3 overflow:scroll elements should support rubber-banding 4 https://bugs.webkit.org/show_bug.cgi?id=91655 5 6 Reviewed by Sam Weinig and Darin Adler. 7 8 This patch enables rubber-banding in overflow regions and it keeps latching 9 working as currently implemented. 10 11 We cannot return early here if there is no scroll delta. There won't be a scroll 12 delta in most cases during event.phase() == PlatformWheelEventPhaseEnded, but that 13 phase is required to be processed in order for rubber-banding to work properly. 14 * dom/Element.cpp: 15 (WebCore::Element::dispatchWheelEvent): 16 * page/EventHandler.cpp: 17 (WebCore::handleWheelEventInAppropriateEnclosingBoxForSingleAxis): 18 19 Add a setting for this, which will default to true. This allows us to disable the 20 feature in WebKit1 for now. There is a bug about making it work. 21 * page/Settings.in: 22 23 allowsHorizontalStretching() and allowsVerticalStretching() now take the 24 PlatformWheelEvent as a parameter, so that ScrollElasticityAutomatic can use the 25 event to decide whether or not stretching should be allowed in this case. 26 ScrollElasticityAutomatic will not allow stretching if it is a brand new gesture 27 that would result in a rubber-band. We don't want to rubber-band in that case 28 because we want the event to propagate up to a parent view. Also added some helper 29 functions just to make that code easier to read. 30 * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h: 31 * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm: 32 (WebCore::newGestureIsStarting): 33 (WebCore::ScrollingTreeFrameScrollingNodeMac::isAlreadyPinnedInDirectionOfGesture): 34 (WebCore::ScrollingTreeFrameScrollingNodeMac::allowsHorizontalStretching): 35 (WebCore::ScrollingTreeFrameScrollingNodeMac::allowsVerticalStretching): 36 * platform/mac/ScrollAnimatorMac.h: 37 * platform/mac/ScrollAnimatorMac.mm: 38 (WebCore::ScrollAnimatorMac::handleWheelEvent): 39 (WebCore::newGestureIsStarting): 40 (WebCore::ScrollAnimatorMac::isAlreadyPinnedInDirectionOfGesture): 41 (WebCore::ScrollAnimatorMac::allowsVerticalStretching): 42 (WebCore::ScrollAnimatorMac::allowsHorizontalStretching): 43 * platform/mac/ScrollElasticityController.h: 44 * platform/mac/ScrollElasticityController.mm: 45 (WebCore::ScrollElasticityController::handleWheelEvent): 46 47 To opt into rubber-banding, all we have to do is implement overhangAmount and set 48 scroll elasticity. We'll choose ScrollElasticityAutomatic which means that we'll 49 only rubber-band in directions that can scroll and that we won't rubber-band for 50 new gestures when we're already pinned to the edge. 51 * rendering/RenderLayer.cpp: 52 (WebCore::RenderLayer::overhangAmount): 53 (WebCore::RenderLayer::setHasHorizontalScrollbar): 54 (WebCore::RenderLayer::setHasVerticalScrollbar): 55 1 56 2014-08-21 Alex Christensen <achristensen@webkit.org> 2 57 -
trunk/Source/WebCore/dom/Element.cpp
r172758 r172832 262 262 bool Element::dispatchWheelEvent(const PlatformWheelEvent& event) 263 263 { 264 if (!(event.deltaX() || event.deltaY()))265 return true;266 267 264 RefPtr<WheelEvent> wheelEvent = WheelEvent::create(event, document().defaultView()); 268 265 return EventDispatcher::dispatchEvent(this, wheelEvent) && !wheelEvent->defaultHandled(); -
trunk/Source/WebCore/page/EventHandler.cpp
r172729 r172832 298 298 static inline bool handleWheelEventInAppropriateEnclosingBoxForSingleAxis(Node* startNode, WheelEvent* wheelEvent, Element** stopElement, ScrollEventAxis axis) 299 299 { 300 if (!startNode->renderer() || (axis == ScrollEventAxis::Vertical && !wheelEvent->deltaY()) || (axis == ScrollEventAxis::Horizontal && !wheelEvent->deltaX())) 300 bool shouldHandleEvent = (axis == ScrollEventAxis::Vertical && wheelEvent->deltaY()) || (axis == ScrollEventAxis::Horizontal && wheelEvent->deltaX()); 301 #if PLATFORM(MAC) 302 shouldHandleEvent |= wheelEvent->phase() == PlatformWheelEventPhaseEnded; 303 #endif 304 if (!startNode->renderer() || !shouldHandleEvent) 301 305 return false; 302 306 -
trunk/Source/WebCore/page/Settings.in
r172709 r172832 95 95 acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled 96 96 acceleratedCompositingForOverflowScrollEnabled initial=false 97 rubberBandingForOverflowScrollEnabled initial=true, conditional=RUBBER_BANDING 97 98 98 99 experimentalNotificationsEnabled initial=false -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h
r170196 r172832 52 52 53 53 // ScrollElasticityController member functions. 54 virtual bool allowsHorizontalStretching( ) override;55 virtual bool allowsVerticalStretching( ) override;54 virtual bool allowsHorizontalStretching(const PlatformWheelEvent&) override; 55 virtual bool allowsVerticalStretching(const PlatformWheelEvent&) override; 56 56 virtual IntSize stretchAmount() override; 57 57 virtual bool pinnedInDirection(const FloatSize&) override; … … 79 79 void updateMainFramePinState(const FloatPoint& scrollPosition); 80 80 81 bool isAlreadyPinnedInDirectionOfGesture(const PlatformWheelEvent&, ScrollEventAxis); 82 81 83 void logExposedUnfilledArea(); 82 84 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
r170196 r172832 159 159 } 160 160 161 bool ScrollingTreeFrameScrollingNodeMac::allowsHorizontalStretching() 161 // FIXME: We should find a way to share some of the code from newGestureIsStarting(), isAlreadyPinnedInDirectionOfGesture(), 162 // allowsVerticalStretching(), and allowsHorizontalStretching() with the implementation in ScrollAnimatorMac. 163 static bool newGestureIsStarting(const PlatformWheelEvent& wheelEvent) 164 { 165 return wheelEvent.phase() == PlatformWheelEventPhaseMayBegin || wheelEvent.phase() == PlatformWheelEventPhaseBegan; 166 } 167 168 bool ScrollingTreeFrameScrollingNodeMac::isAlreadyPinnedInDirectionOfGesture(const PlatformWheelEvent& wheelEvent, ScrollEventAxis axis) 169 { 170 switch (axis) { 171 case ScrollEventAxis::Vertical: 172 return (wheelEvent.deltaY() > 0 && scrollPosition().y() <= minimumScrollPosition().y()) || (wheelEvent.deltaY() < 0 && scrollPosition().y() >= maximumScrollPosition().y()); 173 case ScrollEventAxis::Horizontal: 174 return (wheelEvent.deltaX() > 0 && scrollPosition().x() <= minimumScrollPosition().x()) || (wheelEvent.deltaX() < 0 && scrollPosition().x() >= maximumScrollPosition().x()); 175 } 176 177 ASSERT_NOT_REACHED(); 178 return false; 179 } 180 181 bool ScrollingTreeFrameScrollingNodeMac::allowsHorizontalStretching(const PlatformWheelEvent& wheelEvent) 162 182 { 163 183 switch (horizontalScrollElasticity()) { 164 case ScrollElasticityAutomatic: 165 return hasEnabledHorizontalScrollbar() || !hasEnabledVerticalScrollbar(); 184 case ScrollElasticityAutomatic: { 185 bool scrollbarsAllowStretching = hasEnabledHorizontalScrollbar() || !hasEnabledVerticalScrollbar(); 186 bool eventPreventsStretching = newGestureIsStarting(wheelEvent) && isAlreadyPinnedInDirectionOfGesture(wheelEvent, ScrollEventAxis::Horizontal); 187 return scrollbarsAllowStretching && !eventPreventsStretching; 188 } 166 189 case ScrollElasticityNone: 167 190 return false; … … 174 197 } 175 198 176 bool ScrollingTreeFrameScrollingNodeMac::allowsVerticalStretching( )199 bool ScrollingTreeFrameScrollingNodeMac::allowsVerticalStretching(const PlatformWheelEvent& wheelEvent) 177 200 { 178 201 switch (verticalScrollElasticity()) { 179 case ScrollElasticityAutomatic: 180 return hasEnabledVerticalScrollbar() || !hasEnabledHorizontalScrollbar(); 202 case ScrollElasticityAutomatic: { 203 bool scrollbarsAllowStretching = hasEnabledVerticalScrollbar() || !hasEnabledHorizontalScrollbar(); 204 bool eventPreventsStretching = newGestureIsStarting(wheelEvent) && isAlreadyPinnedInDirectionOfGesture(wheelEvent, ScrollEventAxis::Vertical); 205 return scrollbarsAllowStretching && !eventPreventsStretching; 206 } 181 207 case ScrollElasticityNone: 182 208 return false; -
trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.h
r162158 r172832 142 142 /// ScrollElasticityControllerClient member functions. 143 143 virtual IntSize stretchAmount() override; 144 virtual bool allowsHorizontalStretching( ) override;145 virtual bool allowsVerticalStretching( ) override;144 virtual bool allowsHorizontalStretching(const PlatformWheelEvent&) override; 145 virtual bool allowsVerticalStretching(const PlatformWheelEvent&) override; 146 146 virtual bool pinnedInDirection(const FloatSize&) override; 147 147 virtual bool canScrollHorizontally() override; … … 157 157 bool pinnedInDirection(float deltaX, float deltaY); 158 158 void snapRubberBandTimerFired(Timer<ScrollAnimatorMac>&); 159 160 bool isAlreadyPinnedInDirectionOfGesture(const PlatformWheelEvent&, ScrollEventAxis); 159 161 160 162 ScrollElasticityController m_scrollElasticityController; -
trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm
r167693 r172832 1091 1091 // wheel event if there is nowhere to scroll. 1092 1092 if (fabsf(wheelEvent.deltaY()) >= fabsf(wheelEvent.deltaX())) { 1093 if (!allowsVerticalStretching( ))1093 if (!allowsVerticalStretching(wheelEvent)) 1094 1094 return ScrollAnimator::handleWheelEvent(wheelEvent); 1095 1095 } else { 1096 if (!allowsHorizontalStretching( ))1096 if (!allowsHorizontalStretching(wheelEvent)) 1097 1097 return ScrollAnimator::handleWheelEvent(wheelEvent); 1098 1098 } … … 1132 1132 } 1133 1133 1134 bool ScrollAnimatorMac::allowsVerticalStretching() 1134 // FIXME: We should find a way to share some of the code from newGestureIsStarting(), isAlreadyPinnedInDirectionOfGesture(), 1135 // allowsVerticalStretching(), and allowsHorizontalStretching() with the implementation in ScrollingTreeFrameScrollingNodeMac. 1136 static bool newGestureIsStarting(const PlatformWheelEvent& wheelEvent) 1137 { 1138 return wheelEvent.phase() == PlatformWheelEventPhaseMayBegin || wheelEvent.phase() == PlatformWheelEventPhaseBegan; 1139 } 1140 1141 bool ScrollAnimatorMac::isAlreadyPinnedInDirectionOfGesture(const PlatformWheelEvent& wheelEvent, ScrollEventAxis axis) 1142 { 1143 switch (axis) { 1144 case ScrollEventAxis::Vertical: 1145 return (wheelEvent.deltaY() > 0 && m_scrollableArea->scrolledToTop()) || (wheelEvent.deltaY() < 0 && m_scrollableArea->scrolledToBottom()); 1146 case ScrollEventAxis::Horizontal: 1147 return (wheelEvent.deltaX() > 0 && m_scrollableArea->scrolledToLeft()) || (wheelEvent.deltaX() < 0 && m_scrollableArea->scrolledToRight()); 1148 } 1149 1150 ASSERT_NOT_REACHED(); 1151 return false; 1152 } 1153 1154 bool ScrollAnimatorMac::allowsVerticalStretching(const PlatformWheelEvent& wheelEvent) 1135 1155 { 1136 1156 switch (m_scrollableArea->verticalScrollElasticity()) { … … 1138 1158 Scrollbar* hScroller = m_scrollableArea->horizontalScrollbar(); 1139 1159 Scrollbar* vScroller = m_scrollableArea->verticalScrollbar(); 1140 return (((vScroller && vScroller->enabled()) || (!hScroller || !hScroller->enabled()))); 1160 bool scrollbarsAllowStretching = ((vScroller && vScroller->enabled()) || (!hScroller || !hScroller->enabled())); 1161 bool eventPreventsStretching = newGestureIsStarting(wheelEvent) && isAlreadyPinnedInDirectionOfGesture(wheelEvent, ScrollEventAxis::Vertical); 1162 return scrollbarsAllowStretching && !eventPreventsStretching; 1141 1163 } 1142 1164 case ScrollElasticityNone: … … 1150 1172 } 1151 1173 1152 bool ScrollAnimatorMac::allowsHorizontalStretching( )1174 bool ScrollAnimatorMac::allowsHorizontalStretching(const PlatformWheelEvent& wheelEvent) 1153 1175 { 1154 1176 switch (m_scrollableArea->horizontalScrollElasticity()) { … … 1156 1178 Scrollbar* hScroller = m_scrollableArea->horizontalScrollbar(); 1157 1179 Scrollbar* vScroller = m_scrollableArea->verticalScrollbar(); 1158 return (((hScroller && hScroller->enabled()) || (!vScroller || !vScroller->enabled()))); 1180 bool scrollbarsAllowStretching = ((hScroller && hScroller->enabled()) || (!vScroller || !vScroller->enabled())); 1181 bool eventPreventsStretching = newGestureIsStarting(wheelEvent) && isAlreadyPinnedInDirectionOfGesture(wheelEvent, ScrollEventAxis::Horizontal); 1182 return scrollbarsAllowStretching && !eventPreventsStretching; 1159 1183 } 1160 1184 case ScrollElasticityNone: -
trunk/Source/WebCore/platform/mac/ScrollElasticityController.h
r160898 r172832 43 43 44 44 public: 45 virtual bool allowsHorizontalStretching( ) = 0;46 virtual bool allowsVerticalStretching( ) = 0;45 virtual bool allowsHorizontalStretching(const PlatformWheelEvent&) = 0; 46 virtual bool allowsVerticalStretching(const PlatformWheelEvent&) = 0; 47 47 virtual IntSize stretchAmount() = 0; 48 48 virtual bool pinnedInDirection(const FloatSize&) = 0; -
trunk/Source/WebCore/platform/mac/ScrollElasticityController.mm
r160898 r172832 236 236 } 237 237 } else { 238 if (!m_client->allowsHorizontalStretching( )) {238 if (!m_client->allowsHorizontalStretching(wheelEvent)) { 239 239 deltaX = 0; 240 240 eventCoalescedDeltaX = 0; … … 246 246 } 247 247 248 if (!m_client->allowsVerticalStretching( )) {248 if (!m_client->allowsVerticalStretching(wheelEvent)) { 249 249 deltaY = 0; 250 250 eventCoalescedDeltaY = 0; -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r172649 r172832 2650 2650 IntSize RenderLayer::overhangAmount() const 2651 2651 { 2652 return IntSize(); 2652 if (!renderer().frame().settings().rubberBandingForOverflowScrollEnabled()) 2653 return IntSize(); 2654 2655 IntSize stretch; 2656 2657 int physicalScrollY = scrollPosition().y() + scrollOrigin().y(); 2658 if (physicalScrollY < 0) 2659 stretch.setHeight(physicalScrollY); 2660 else if (scrollableContentsSize().height() && physicalScrollY > scrollableContentsSize().height() - visibleHeight()) 2661 stretch.setHeight(physicalScrollY - (scrollableContentsSize().height() - visibleHeight())); 2662 2663 int physicalScrollX = scrollPosition().x() + scrollOrigin().x(); 2664 if (physicalScrollX < 0) 2665 stretch.setWidth(physicalScrollX); 2666 else if (scrollableContentsSize().width() && physicalScrollX > scrollableContentsSize().width() - visibleWidth()) 2667 stretch.setWidth(physicalScrollX - (scrollableContentsSize().width() - visibleWidth())); 2668 2669 return stretch; 2653 2670 } 2654 2671 … … 2982 2999 return; 2983 3000 2984 if (hasScrollbar) 3001 if (hasScrollbar) { 2985 3002 m_hBar = createScrollbar(HorizontalScrollbar); 2986 else 3003 ScrollableArea::setHorizontalScrollElasticity(renderer().frame().settings().rubberBandingForOverflowScrollEnabled() ? ScrollElasticityAutomatic : ScrollElasticityNone); 3004 } else { 2987 3005 destroyScrollbar(HorizontalScrollbar); 3006 ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityNone); 3007 } 2988 3008 2989 3009 // Destroying or creating one bar can cause our scrollbar corner to come and go. We need to update the opposite scrollbar's style. … … 3005 3025 return; 3006 3026 3007 if (hasScrollbar) 3027 if (hasScrollbar) { 3008 3028 m_vBar = createScrollbar(VerticalScrollbar); 3009 else 3029 ScrollableArea::setVerticalScrollElasticity((renderer().frame().settings().rubberBandingForOverflowScrollEnabled() ? ScrollElasticityAutomatic : ScrollElasticityNone)); 3030 } else { 3010 3031 destroyScrollbar(VerticalScrollbar); 3032 ScrollableArea::setVerticalScrollElasticity(ScrollElasticityNone); 3033 } 3011 3034 3012 3035 // Destroying or creating one bar can cause our scrollbar corner to come and go. We need to update the opposite scrollbar's style. -
trunk/Source/WebKit/mac/ChangeLog
r172790 r172832 1 2014-08-21 Beth Dakin <bdakin@apple.com> 2 3 overflow:scroll elements should support rubber-banding 4 https://bugs.webkit.org/show_bug.cgi?id=91655 5 6 Reviewed by Sam Weinig and Darin Adler. 7 8 Disable rubber-banding in overflow areas for now. 9 * WebView/WebView.mm: 10 (-[WebView _preferencesChanged:]): 11 1 12 2014-08-19 Pratik Solanki <psolanki@apple.com> 2 13 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r172749 r172832 2304 2304 #endif 2305 2305 2306 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=136131 2307 settings.setRubberBandingForOverflowScrollEnabled(false); 2308 2306 2309 #if PLATFORM(IOS) 2307 2310 settings.setStandalone([preferences _standalone]);
Note:
See TracChangeset
for help on using the changeset viewer.