Changeset 290548 in webkit
- Timestamp:
- Feb 26, 2022 10:43:07 AM (5 months ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/css3/scroll-snap/scroll-padding-overflow-paging.html (modified) (1 diff)
-
LayoutTests/fast/events/wheelevent-in-scrolling-div.html (modified) (1 diff)
-
LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow-rtl-with-keyboard.html (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerScrollableArea.cpp (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerScrollableArea.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r290546 r290548 1 2022-02-26 Simon Fraser <simon.fraser@apple.com> 2 3 No animation when scroll snap scroller is navigated with the keyboard 4 https://bugs.webkit.org/show_bug.cgi?id=236244 5 6 Reviewed by Tim Horton. 7 8 Turn off the scroll animator for these tests that assume that scrolling is instantaneous. 9 10 * css3/scroll-snap/scroll-padding-overflow-paging.html: 11 * fast/events/wheelevent-in-scrolling-div.html: 12 * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow-rtl-with-keyboard.html: 13 1 14 2022-02-26 Youenn Fablet <youenn@apple.com> 2 15 -
trunk/LayoutTests/css3/scroll-snap/scroll-padding-overflow-paging.html
r271788 r290548 1 <!DOCTYPE html> 1 <!DOCTYPE html> <!-- webkit-test-runner [ ScrollAnimatorEnabled=false ] --> 2 2 <html> 3 3 <head> -
trunk/LayoutTests/fast/events/wheelevent-in-scrolling-div.html
r212321 r290548 1 <!DOCTYPE html> <!-- webkit-test-runner [ ScrollAnimatorEnabled=false ] --> 1 2 <html> 2 3 <head> -
trunk/LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow-rtl-with-keyboard.html
r270838 r290548 1 <!DOCTYPE HTML>1 <!DOCTYPE html> <!-- webkit-test-runner [ ScrollAnimatorEnabled=false ] --> 2 2 <html> 3 3 <head> -
trunk/Source/WebCore/ChangeLog
r290545 r290548 1 2022-02-26 Simon Fraser <simon.fraser@apple.com> 2 3 No animation when scroll snap scroller is navigated with the keyboard 4 https://bugs.webkit.org/show_bug.cgi?id=236244 5 6 Reviewed by Tim Horton. 7 8 Keyboard-driven scrolls in overflow didn't animate, simply because scrollAnimatorEnabled() 9 wasn't implemented for RenderLayerScrollableArea. 10 11 I could not figure out a reliable way to test that we animated the scroll. 12 13 * rendering/RenderLayerScrollableArea.cpp: 14 (WebCore::RenderLayerScrollableArea::scrollAnimatorEnabled const): 15 * rendering/RenderLayerScrollableArea.h: 16 1 17 2022-02-25 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderLayerScrollableArea.cpp
r288008 r290548 1543 1543 } 1544 1544 1545 bool RenderLayerScrollableArea::scrollAnimatorEnabled() const 1546 { 1547 return m_layer.page().settings().scrollAnimatorEnabled(); 1548 } 1549 1545 1550 void RenderLayerScrollableArea::paintOverlayScrollbars(GraphicsContext& context, const LayoutRect& damageRect, OptionSet<PaintBehavior> paintBehavior, RenderObject* subtreePaintRoot) 1546 1551 { -
trunk/Source/WebCore/rendering/RenderLayerScrollableArea.h
r288008 r290548 194 194 bool forceUpdateScrollbarsOnMainThreadForPerformanceTesting() const final; 195 195 bool isScrollSnapInProgress() const final; 196 bool scrollAnimatorEnabled() const final; 196 197 bool mockScrollbarsControllerEnabled() const final; 197 198 void logMockScrollbarsControllerMessage(const String&) const final;
Note: See TracChangeset
for help on using the changeset viewer.