Modify more tests to use document.scrollingElement to access viewport scroll properties
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-09-11  Frederic Wang  <fwang@igalia.com>
2
3         Modify more tests to use document.scrollingElement to access viewport scroll properties
4         https://bugs.webkit.org/show_bug.cgi?id=189495
5
6         After r235806, it is wrong to use document.body to access scroll properties of the viewport
7         in standard mode. New tests added since r227781 are modified to use
8         document.scrollingElement instead and avoid flaky behavior. For consistency, we do the same
9         for old tests in quirks mode. Note that WPT tests as well as the following tests using
10         document.body on purpose are not modified:
11         - fast/dom/Element/*
12         - events/scroll-in-scaled-page-with-overflow-hidden.html
13         - compositing/ios/overflow-scroll-update-overlap.html
14         - body-stuck-with-dirty-bit-with-columns.html
15
16         Reviewed by Antonio Gomes.
17
18         * compositing/rtl/rtl-absolute-overflow-scrolled.html:
19         * compositing/rtl/rtl-fixed-overflow-scrolled.html:
20         * editing/caret/ios/absolute-caret-position-after-scroll.html:
21         * editing/caret/ios/fixed-caret-position-after-scroll.html:
22         * editing/execCommand/delete-no-scroll.html:
23         * editing/input/resources/reveal-utilities.js:
24         (performJumpAtTheEdgeTest):
25         * editing/pasteboard/copy-crash.html:
26         * editing/selection/ios/absolute-selection-after-scroll.html:
27         * editing/selection/ios/fixed-selection-after-scroll.html:
28         * fast/autoresize/autoresize-with-iframe-expected.txt:
29         * fast/autoresize/autoresize-with-iframe.html:
30         * fast/autoresize/basic-expected.txt:
31         * fast/autoresize/basic.html:
32         * fast/autoresize/turn-off-autoresize-expected.txt:
33         * fast/autoresize/turn-off-autoresize.html:
34         * fast/css/element-scrollByLines-scrollByPages-obsolete.html:
35         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
36         * fast/dom/non-numeric-values-numeric-parameters.html:
37         * fast/dom/resources/check-scroll-position-onload.html:
38         * fast/dom/scroll-position-for-new-loads.html:
39         * fast/events/attempt-scroll-with-no-scrollbars.html:
40         * fast/events/fire-scroll-event.html:
41         * fast/events/frame-scroll-fake-mouse-move.html:
42         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe-expected.txt:
43         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe.html:
44         * fast/events/ios/touch-events-during-scroll-deceleration-in-overflow.html:
45         * fast/events/mouse-cursor-image-set.html:
46         * fast/events/mouse-cursor-multiframecur.html:
47         * fast/events/mouse-cursor.html:
48         * fast/events/no-scroll-on-input-text-selection-expected.txt:
49         * fast/events/no-scroll-on-input-text-selection.html:
50         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page-expected.txt:
51         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html:
52         * fast/events/platform-wheelevent-paging-x-in-scrolling-page-expected.txt:
53         * fast/events/platform-wheelevent-paging-x-in-scrolling-page.html:
54         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page-expected.txt:
55         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html:
56         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page-expected.txt:
57         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html:
58         * fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt:
59         * fast/events/platform-wheelevent-paging-y-in-scrolling-page.html:
60         * fast/events/scale-and-scroll-body-expected.txt:
61         * fast/events/scale-and-scroll-body.html:
62         * fast/events/scale-and-scroll-window-expected.txt:
63         * fast/events/scale-and-scroll-window.html:
64         * fast/events/scroll-after-click-on-tab-index.html:
65         * fast/events/scroll-to-anchor-in-overflow-hidden.html:
66         * fast/events/touch/ios/touchmove-cancelable-after-touchstart-expected.txt:
67         * fast/events/touch/ios/touchmove-cancelable-after-touchstart.html:
68         * fast/forms/autofocus-opera-003.html:
69         * fast/forms/input-readonly-autoscroll.html:
70         * fast/forms/resources/common.js:
71         (getAbsoluteRect):
72         * fast/frames/iframe-scroll-page-up-down.html:
73         * fast/frames/transparent-scrollbar.html:
74         * fast/harness/results.html:
75         * fast/html/empty-fragment-id-goto-top-expected.txt:
76         * fast/html/empty-fragment-id-goto-top.html:
77         * fast/images/imagemap-scroll.html:
78         * fast/loader/scroll-position-restored-on-back-non-cached.html:
79         * fast/loader/scroll-position-restored-on-back.html:
80         * fast/multicol/body-stuck-with-dirty-bit-with-columns.html:
81         * fast/repaint/resources/iframe-scroll-repaint-iframe.html:
82         * fast/scrolling/ios/iframe-scroll-into-view.html:
83         * fast/scrolling/latching/scroll-div-latched-div.html:
84         * fast/scrolling/latching/scroll-div-latched-mainframe.html:
85         * fast/scrolling/latching/scroll-div-with-nested-nonscrollable-iframe.html:
86         * fast/scrolling/latching/scroll-iframe-fragment.html:
87         * fast/scrolling/latching/scroll-iframe-latched-iframe.html:
88         * fast/scrolling/latching/scroll-iframe-latched-mainframe.html:
89         * fast/scrolling/latching/scroll-iframe-webkit1-latching-bug.html:
90         * fast/scrolling/latching/scroll-select-bottom-test.html:
91         * fast/scrolling/latching/scroll-select-latched-mainframe.html:
92         * fast/scrolling/latching/scroll-select-latched-select.html:
93         * fast/scrolling/rtl-point-in-iframe.html:
94         * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html:
95         * fast/table/assert-when-visual-overflow-is-cleared.html:
96         * fast/transforms/selection-bounds-in-transformed-view.html:
97         * http/tests/navigation/anchor-frames-cross-origin-expected.txt:
98         * http/tests/navigation/resources/frame-with-anchor-cross-origin.html:
99         * jquery/resources/test/unit/offset.js:
100         * legacy-animation-engine/fast/harness/results.html:
101         * media/video-controls-to-not-scroll-page-on-load.html:
102         * media/video-main-content-allow-then-scroll-expected.txt:
103         * media/video-main-content-allow-then-scroll.html:
104         * scrollbars/scrollbar-large-overflow-rectangle.html:
105         * tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler.html:
106         * tiled-drawing/scrolling/fast-scroll-div-latched-div.html:
107         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler.html:
108         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler.html:
109         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe.html:
110         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler.html:
111         * tiled-drawing/scrolling/fast-scroll-iframe-latched-select.html:
112         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:
113         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html:
114         * tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler.html:
115         * tiled-drawing/scrolling/fast-scroll-select-latched-select.html:
116         * tiled-drawing/scrolling/latched-to-deleted-node.html:
117         * tiled-drawing/scrolling/non-fast-region/top-content-inset-header.html:
118         * tiled-drawing/scrolling/non-fast-region/top-content-inset.html:
119         * tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html:
120         * tiled-drawing/scrolling/root-overflow-with-mousewheel.html:
121         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
122         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
123         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
124         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
125         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
126         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html:
127
128 == Rolled over to ChangeLog-2018-09-11 ==