Changeset 256513 in webkit
- Timestamp:
- Feb 13, 2020 9:20:42 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r256512 r256513 1 2020-02-13 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r255037): Zooming in and out on Quip in macOS Safari can cause the content to be offset to the side 4 https://bugs.webkit.org/show_bug.cgi?id=207674 5 rdar://problem/59404866 6 7 Reviewed by Antti Koivisto. 8 9 Test that does a programmatic scroll to 0,0, does a user scroll, then a second programmatic scroll to 0,0, 10 which is expected to work. 11 12 * fast/scrolling/programmatic-scroll-to-zero-zero-expected.html: Added. 13 * fast/scrolling/programmatic-scroll-to-zero-zero.html: Added. 14 * platform/ios/TestExpectations: Skip the new test on iOS (it relies on eventSender) and sort the grouping. 15 1 16 2020-02-13 Said Abou-Hallawa <said@apple.com> 2 17 -
trunk/LayoutTests/platform/ios/TestExpectations
r256477 r256513 70 70 71 71 # No wheel events on iOS 72 fast/scrolling/iframe-scrollable-after-back.html [ Skip ] 73 fast/scrolling/overflow-scrollable-after-back.html [ Skip ] 74 fast/events/wheel-event-destroys-frame.html [ Skip ] 75 fast/events/wheel-event-destroys-overflow.html [ Skip ] 76 fast/events/wheel-event-outside-body.html [ Skip ] 77 fast/scrolling/scroll-container-horizontally.html [ Failure ] 78 fast/events/wheelevent-basic.html [ Skip ] 79 fast/events/wheelevent-direction-inverted-from-device.html [ Skip ] 80 fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html [ Skip ] 81 fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html [ Skip ] 82 fast/events/wheelevent-mousewheel-interaction.html [ Skip ] 72 fast/events/continuous-platform-wheelevent-in-scrolling-div.html [ Skip ] 83 73 fast/events/platform-wheelevent-in-scrolling-div.html [ Skip ] 84 74 fast/events/platform-wheelevent-paging-x-in-non-scrolling-div.html [ Skip ] … … 92 82 fast/events/platform-wheelevent-paging-y-in-scrolling-div.html [ Skip ] 93 83 fast/events/platform-wheelevent-paging-y-in-scrolling-page.html [ Skip ] 84 fast/events/wheel-event-destroys-frame.html [ Skip ] 85 fast/events/wheel-event-destroys-overflow.html [ Skip ] 86 fast/events/wheel-event-outside-body.html [ Skip ] 87 fast/events/wheelevent-basic.html [ Skip ] 88 fast/events/wheelevent-direction-inverted-from-device.html [ Skip ] 89 fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html [ Skip ] 94 90 fast/events/wheelevent-in-text-node.html [ Skip ] 95 fast/events/continuous-platform-wheelevent-in-scrolling-div.html [ Skip ] 91 fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html [ Skip ] 92 fast/events/wheelevent-mousewheel-interaction.html [ Skip ] 93 fast/scrolling/iframe-scrollable-after-back.html [ Skip ] 94 fast/scrolling/overflow-scrollable-after-back.html [ Skip ] 95 fast/scrolling/programmatic-scroll-to-zero-zero.html [ Skip ] 96 fast/scrolling/scroll-container-horizontally.html [ Failure ] 96 97 97 98 # This test requires alpha-channel video support. -
trunk/Source/WebCore/ChangeLog
r256512 r256513 1 2020-02-13 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r255037): Zooming in and out on Quip in macOS Safari can cause the content to be offset to the side 4 https://bugs.webkit.org/show_bug.cgi?id=207674 5 rdar://problem/59404866 6 7 Reviewed by Antti Koivisto. 8 9 Remove the early return in ScrollingStateScrollingNode::setRequestedScrollData(); comparing 10 with the last m_requestedScrollData is wrong, because requested scroll positions are not "state" 11 in the scrolling tree, they are requests to scroll. Ideally, they would be represented in some 12 different way in the scrolling tree. 13 14 Test: fast/scrolling/programmatic-scroll-to-zero-zero.html 15 16 * page/scrolling/ScrollingStateScrollingNode.cpp: 17 (WebCore::ScrollingStateScrollingNode::setRequestedScrollData): 18 1 19 2020-02-13 Said Abou-Hallawa <said@apple.com> 2 20 -
trunk/Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp
r255037 r256513 221 221 void ScrollingStateScrollingNode::setRequestedScrollData(const RequestedScrollData& scrollData) 222 222 { 223 if (scrollData == m_requestedScrollData) 224 return; 225 223 // Scroll position requests are imperative, not stateful, so we can't early return here. 226 224 m_requestedScrollData = scrollData; 227 225 setPropertyChanged(RequestedScrollPosition);
Note: See TracChangeset
for help on using the changeset viewer.