[Cocoa] Complete support for Paste as Quotation
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-09-12  Dan Bernstein  <mitz@apple.com>
2
3         [Cocoa] Complete support for Paste as Quotation
4         https://bugs.webkit.org/show_bug.cgi?id=189504
5
6         Reviewed by Wenson Hsieh.
7
8         Took a few existing tests of the Paste as Quotation behavior and modified them to use the
9         new PasteAsQuotation command. The only difference in the results is that the blockquote has
10         the "type" attribute set to "cite".
11
12         * editing/pasteboard/4930986-1-paste-as-quotation-expected.txt: Added.
13         * editing/pasteboard/4930986-1-paste-as-quotation.html: Added.
14         * editing/pasteboard/4930986-2-paste-as-quotation-expected.txt: Added.
15         * editing/pasteboard/4930986-2-paste-as-quotation.html: Added.
16         * editing/pasteboard/4930986-3-paste-as-quotation-expected.txt: Added.
17         * editing/pasteboard/4930986-3-paste-as-quotation.html: Added.
18
19 2018-09-12  Sihui Liu  <sihui_liu@apple.com>
20
21         Move IndexedDB to Network Process
22         https://bugs.webkit.org/show_bug.cgi?id=189415
23
24         Reviewed by Geoffrey Garen.
25
26         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
27
28 2018-09-11  Dean Jackson  <dino@apple.com>
29
30         Header parsing for experimental and internal debug features
31         https://bugs.webkit.org/show_bug.cgi?id=189486
32         <rdar://problem/44320618>
33
34         Reviewed by Tim Horton.
35
36         New webkit-test-runner headers.
37
38         * animations/3d/matrix-transform-type-animation.html:
39         * animations/3d/replace-filling-transform.html:
40         * animations/3d/transform-origin-vs-functions.html:
41         * animations/3d/transform-perspective.html:
42         * animations/additive-transform-animations.html:
43         * animations/animation-border-overflow.html:
44         * animations/animation-callback-timestamp.html:
45         * animations/animation-controller-drt-api.html:
46         * animations/animation-direction-alternate-reverse.html:
47         * animations/animation-direction-reverse-fill-mode-hardware.html:
48         * animations/animation-direction-reverse-hardware-opacity.html:
49         * animations/animation-direction-reverse-hardware.html:
50         * animations/animation-direction-reverse-non-hardware.html:
51         * animations/animation-direction-reverse-timing-functions-hardware.html:
52         * animations/animation-direction-reverse-timing-functions.html:
53         * animations/animation-direction.html:
54         * animations/animation-followed-by-transition.html:
55         * animations/animation-hit-test-transform.html:
56         * animations/animation-hit-test.html:
57         * animations/animation-internals-api-multiple-keyframes.html:
58         * animations/animation-internals-api.html:
59         * animations/animation-offscreen-to-onscreen.html:
60         * animations/animation-playstate-paused-style-resolution.html:
61         * animations/big-rotation.html:
62         * animations/change-completed-animation-transform.html:
63         * animations/change-keyframes.html:
64         * animations/combo-transform-rotate+scale.html:
65         * animations/cross-fade-background-image.html:
66         * animations/cross-fade-border-image-source.html:
67         * animations/cross-fade-list-style-image.html:
68         * animations/cross-fade-webkit-mask-box-image.html:
69         * animations/duplicate-keys-expected.html:
70         * animations/duplicate-keys.html:
71         * animations/duplicated-keyframes-name.html:
72         * animations/fill-forwards-end-state.html:
73         * animations/fill-mode-forwards-zero-duration.html:
74         * animations/fill-mode-removed.html:
75         * animations/font-variations/font-stretch.html:
76         * animations/font-variations/font-style.html:
77         * animations/font-variations/font-variation-settings-order.html:
78         * animations/font-variations/font-variation-settings-unlike.html:
79         * animations/font-variations/font-variation-settings.html:
80         * animations/font-variations/font-weight.html:
81         * animations/generic-from-to.html:
82         * animations/import.html:
83         * animations/keyframe-multiple-timing-functions-transform.html:
84         * animations/keyframe-timing-functions-transform.html:
85         * animations/keyframe-timing-functions.html:
86         * animations/keyframe-timing-functions2.html:
87         * animations/keyframes-comma-separated.html:
88         * animations/keyframes-dynamic.html:
89         * animations/keyframes-infinite-iterations.html:
90         * animations/keyframes-invalid-keys.html:
91         * animations/keyframes-out-of-order.html:
92         * animations/keyframes.html:
93         * animations/leak-document-with-css-animation.html:
94         * animations/lineheight-animation.html:
95         * animations/longhand-timing-function.html:
96         * animations/matrix-anim.html:
97         * animations/missing-from-to-transforms.html:
98         * animations/missing-from-to.html:
99         * animations/missing-keyframe-properties-repeating.html:
100         * animations/missing-keyframe-properties-timing-function.html:
101         * animations/missing-keyframe-properties.html:
102         * animations/missing-values-first-keyframe.html:
103         * animations/missing-values-last-keyframe.html:
104         * animations/multiple-animations-timing-function.html:
105         * animations/multiple-animations.html:
106         * animations/multiple-keyframes.html:
107         * animations/negative-delay.html:
108         * animations/pause-crash.html:
109         * animations/play-state-start-paused.html:
110         * animations/resources/animation-leak-iframe.html:
111         * animations/simultaneous-start-left.html:
112         * animations/simultaneous-start-transform.html:
113         * animations/spring-function.html:
114         * animations/stacking-context-unchanged-while-running.html:
115         * animations/timing-functions.html:
116         * animations/transition-and-animation-1.html:
117         * animations/transition-and-animation-2.html:
118         * animations/transition-and-animation-3.html:
119         * animations/trigger-container-scroll-boundaries.html:
120         * animations/trigger-container-scroll-empty.html:
121         * animations/trigger-container-scroll-simple.html:
122         * animations/unanimated-style.html:
123         * animations/unprefixed-keyframes.html:
124         * animations/width-using-ems.html:
125         * compositing/animation/animated-composited-inside-hidden.html:
126         * compositing/animation/computed-style-during-delay.html:
127         * compositing/animation/layer-for-filling-animation.html:
128         * compositing/backing/backface-visibility-flip.html:
129         * compositing/backing/transform-transition-from-outside-view.html:
130         * compositing/contents-scale/animating.html:
131         * compositing/layer-creation/animation-overlap-with-children.html:
132         * compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html:
133         * compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html:
134         * compositing/layer-creation/mismatched-transform-transition-overlap.html:
135         * compositing/layer-creation/multiple-keyframes-animation-overlap.html:
136         * compositing/layer-creation/overlap-animation-clipping.html:
137         * compositing/layer-creation/overlap-animation-container.html:
138         * compositing/layer-creation/overlap-animation.html:
139         * compositing/layer-creation/scale-rotation-animation-overlap.html:
140         * compositing/layer-creation/scale-rotation-transition-overlap.html:
141         * compositing/layer-creation/translate-animation-overlap.html:
142         * compositing/layer-creation/translate-scale-animation-overlap.html:
143         * compositing/layer-creation/translate-scale-transition-overlap.html:
144         * compositing/layer-creation/translate-transition-overlap.html:
145         * compositing/overflow/overflow-positioning.html:
146         * compositing/reflections/animation-inside-reflection.html:
147         * compositing/reflections/nested-reflection-animated.html:
148         * compositing/reflections/nested-reflection-transition.html:
149         * compositing/transitions/scale-transition-no-start.html:
150         * compositing/transitions/singular-scale-transition.html:
151         * compositing/visible-rect/animated-from-none.html:
152         * compositing/visible-rect/animated.html:
153         * css3/calc/transitions-dependent.html:
154         * css3/calc/transitions.html:
155         * css3/filters/backdrop/animation.html:
156         * css3/filters/composited-during-animation.html:
157         * css3/filters/filter-animation-from-none-hw.html:
158         * css3/filters/filter-animation-from-none-multi-hw.html:
159         * css3/filters/filter-animation-from-none-multi.html:
160         * css3/filters/filter-animation-from-none.html:
161         * css3/filters/filter-animation-hw.html:
162         * css3/filters/filter-animation-multi-hw.html:
163         * css3/filters/filter-animation-multi.html:
164         * css3/filters/filter-animation.html:
165         * css3/masking/clip-path-animation.html:
166         * fast/animation/css-animation-resuming-when-visible-with-style-change.html:
167         * fast/animation/css-animation-resuming-when-visible.html:
168         * fast/animation/css-animation-throttling-lowPowerMode.html:
169         * fast/animation/height-auto-transition-computed-value.html:
170         * fast/css-generated-content/pseudo-animation.html:
171         * fast/css-generated-content/pseudo-transition.html:
172         * fast/filter-image/filter-image-animation.html:
173         * fast/shapes/shape-outside-floats/shape-outside-animation.html:
174         * fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html:
175         * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html:
176         * http/wpt/css/css-animations/start-animation-001.html:
177         * imported/blink/transitions/transition-not-interpolable.html:
178         * imported/blink/transitions/unprefixed-transform.html:
179         * platform/mac/TestExpectations:
180         * transitions/background-position-transitions.html:
181         * transitions/background-transitions.html:
182         * transitions/blendmode-transitions.html:
183         * transitions/border-radius-transition.html:
184         * transitions/clip-path-path-transitions.html:
185         * transitions/clip-path-transitions.html:
186         * transitions/clip-transition.html:
187         * transitions/color-transition-all.html:
188         * transitions/color-transition-premultiplied.html:
189         * transitions/color-transition-rounding.html:
190         * transitions/cross-fade-background-image.html:
191         * transitions/cross-fade-border-image.html:
192         * transitions/cubic-bezier-overflow-color.html:
193         * transitions/cubic-bezier-overflow-length.html:
194         * transitions/cubic-bezier-overflow-shadow.html:
195         * transitions/cubic-bezier-overflow-svg-length.html:
196         * transitions/cubic-bezier-overflow-transform.html:
197         * transitions/default-timing-function.html:
198         * transitions/delay.html:
199         * transitions/extra-transition.html:
200         * transitions/flex-transitions.html:
201         * transitions/font-family-during-transition.html:
202         * transitions/frames-timing-function.html:
203         * transitions/interrupted-all-transition.html:
204         * transitions/longhand-vs-shorthand-initial.html:
205         * transitions/mask-transitions.html:
206         * transitions/min-max-width-height-transitions.html:
207         * transitions/mismatched-shadow-styles.html:
208         * transitions/mismatched-shadow-transitions.html:
209         * transitions/mixed-type.html:
210         * transitions/move-after-transition.html:
211         * transitions/multiple-background-size-transitions.html:
212         * transitions/multiple-background-transitions.html:
213         * transitions/multiple-mask-transitions.html:
214         * transitions/multiple-shadow-transitions.html:
215         * transitions/negative-delay.html:
216         * transitions/opacity-transition-zindex.html:
217         * transitions/remove-transition-style.html:
218         * transitions/shape-outside-transitions.html:
219         * transitions/shorthand-border-transitions.html:
220         * transitions/shorthand-transitions.html:
221         * transitions/steps-timing-function.html:
222         * transitions/svg-layout-transition.html:
223         * transitions/svg-text-shadow-transition.html:
224         * transitions/svg-transitions.html:
225         * transitions/text-indent-transition.html:
226         * transitions/transform-op-list-match.html:
227         * transitions/transform-op-list-no-match.html:
228         * transitions/transition-drt-api-delay.html:
229         * transitions/transition-drt-api.html:
230         * transitions/transition-end-event-rendering.html:
231         * transitions/transition-hit-test-transform.html:
232         * transitions/transition-hit-test.html:
233         * transitions/transition-in-delay-phase.html:
234         * transitions/transition-on-element-with-content.html:
235         * transitions/transition-shorthand-delay.html:
236         * transitions/transition-timing-function.html:
237         * transitions/transition-to-from-auto.html:
238         * transitions/transition-to-from-undefined.html:
239         * transitions/visited-link-color.html:
240         * transitions/zero-duration-in-list.html:
241         * transitions/zero-duration-with-non-zero-delay-end.html:
242         * transitions/zero-duration-with-non-zero-delay-start.html:
243         * webanimations/accelerated-transition-by-removing-property.html:
244         * webanimations/accessing-current-time-after-clearing-css-animation-effect.html:
245         * webanimations/accessing-current-time-after-finished-css-animation-target-removal.html:
246         * webanimations/css-animation-effect-target-change-and-animation-removal-crash.html:
247         * webanimations/css-animations.html:
248         * webanimations/empty-keyframes-crash.html:
249         * webanimations/partly-accelerated-transition-by-removing-property.html:
250         * webanimations/setting-css-animation-none-after-clearing-effect.html:
251         * webanimations/setting-css-animation-timing-property-via-style-after-clearing-effect.html:
252
253 2018-09-12  Joseph Pecoraro  <pecoraro@apple.com>
254
255         Web Inspector: fix test case failures in js-isLikelyStackTrace.html
256         https://bugs.webkit.org/show_bug.cgi?id=180664
257
258         Reviewed by Devin Rousso.
259
260         * inspector/console/js-isLikelyStackTrace-expected.txt:
261         * inspector/console/js-isLikelyStackTrace.html:
262         Avoid Inspector Internal InjectedScript code in backtraces by producing
263         the exception stacks in the page itself without going through inspector
264         test evaluation code. This produces exception stacks more like a page.
265         Also add some explicit tests for strings that we'd expect to be classified
266         as exception stacks.
267
268 2018-09-12  Per Arne Vollan  <pvollan@apple.com>
269
270         Layout Test fast/text/variations/ipc2.html is failing
271         https://bugs.webkit.org/show_bug.cgi?id=189550
272
273         Unreviewed test gardening.
274
275         * platform/win/TestExpectations:
276
277 2018-09-11  Olivia Barnett  <obarnett@apple.com>
278
279         Implement the Web Share API for mac
280         https://bugs.webkit.org/show_bug.cgi?id=189443
281
282         Reviewed by Tim Horton.
283
284         * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: Added.
285         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/idlharness.https-expected.txt: Added.
286         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-empty.https-expected.txt: Added.
287         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-securecontext.http-expected.txt: Added.
288         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-url-invalid.https-expected.txt: Added.
289         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-without-user-gesture.https-expected.txt: Added.
290         Updated test expectations.
291
292 2018-09-11  Myles C. Maxfield  <mmaxfield@apple.com>
293
294         Unreviewed test fix after r235910
295         https://bugs.webkit.org/show_bug.cgi?id=188008
296
297         * platform/mac-wk1/TestExpectations:
298
299 2018-09-11  James Savage  <james.savage@apple.com>
300
301         Follow up to:
302         Expose -apple-system-container-border color to internal web views.
303         https://bugs.webkit.org/show_bug.cgi?id=189178.
304
305         Reviewed by Timothy Hatcher.
306
307         * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
308         Reset test expectations to go along with fix.
309
310 2018-09-07  Dean Jackson  <dino@apple.com>
311
312         Add and expose Internal features from WebKit
313         https://bugs.webkit.org/show_bug.cgi?id=189442
314         <rdar://problem/44243404>
315
316         Reviewed by Simon Fraser.
317
318         Skip some tests that rely on an experimental feature that has
319         moved to internal. A follow-up patch will allow WKTR to enable
320         them on demand.
321
322         * platform/mac/TestExpectations:
323
324 2018-09-11  Jer Noble  <jer.noble@apple.com>
325
326         [MediaCapabilities] Implement MediaEngineConfigurationFactory registration
327         https://bugs.webkit.org/show_bug.cgi?id=189438
328
329         Reviewed by Eric Carlson.
330
331         * media/mediacapabilities/mediacapabilities-types-expected.txt:
332
333 2018-09-08  Ryosuke Niwa  <rniwa@webkit.org>
334
335         :first-child, :last-child, :nth-child, and :nth-of-type don't work on shadow root's children
336         https://bugs.webkit.org/show_bug.cgi?id=166748
337         <rdar://problem/29649177>
338
339         Reviewed by Yusuke Suzuki.
340
341         Added ref tests for matching positional pseudo classes on direct child of shadow roots
342         during style resolutions and DOM API matching with C++ selector checker and selector compilers.
343
344         Also added a test for invalidating these selectors.
345
346         * fast/shadow-dom/nth-node-on-shadow-child-expected.html: Added.
347         * fast/shadow-dom/nth-node-on-shadow-child-invalidation-expected.html: Added.
348         * fast/shadow-dom/nth-node-on-shadow-child-invalidation.html: Added.
349         * fast/shadow-dom/nth-node-on-shadow-child-no-jit-expected.html: Added.
350         * fast/shadow-dom/nth-node-on-shadow-child-no-jit.html: Added.
351         * fast/shadow-dom/nth-node-on-shadow-child.html: Added.
352
353 2018-09-11  Ryosuke Niwa  <rniwa@webkit.org>
354
355         Updated the test expectation as this test also causes a crash in release builds.
356
357         * TestExpectations:
358
359 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
360
361         [macOS] [WK2] Support changing foreground colors via color panel
362         https://bugs.webkit.org/show_bug.cgi?id=189382
363         <rdar://problem/44227311>
364
365         Reviewed by Ryosuke Niwa.
366
367         Adjust an existing layout test that applies a text color with alpha. Currently, this results in a font element
368         being emitted with the `color` attribute, but this is incorrect, since the `color` attribute of a font element
369         does not support "rgba(…)" values.
370
371         Instead, split this into two cases: verify that setting the color to an opaque color (with alpha = 1) emits a
372         font element with the correct `color` attribute, and fall back to using an inline style when the color is
373         partially transparent.
374
375         * editing/style/inline-style-container-expected.txt:
376         * editing/style/inline-style-container.html:
377
378 2018-09-11  Justin Fan  <justin_fan@apple.com>
379
380         Update webkit-webgl-test-harness.js for more details on WebGL 2 conformance tests part 3
381         https://bugs.webkit.org/show_bug.cgi?id=189491
382
383         Reviewed by Dean Jackson.
384
385         Small update to the test-harness file used for the new 2.0.0 suite tests, as well as 
386         expectation updates for the unskipped tests. 
387
388         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
389         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
390         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
391         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
392         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
393         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
394         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
395         * webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
396         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
397         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
398         * webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
399         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
400         * webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
401         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
402         * webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
403         * webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
404         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
405         * webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
406         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
407         * webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
408         * webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
409         * webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
410         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
411         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
412         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-define-expected.txt:
413         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-identifier.frag-expected.txt:
414         * webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
415         * webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
416         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
417         * webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
418         * webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
419         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
420         * webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
421         * webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
422         * webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
423         * webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
424         * webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
425         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
426         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
427         * webgl/2.0.0/conformance2/renderbuffers/framebuffer-test-expected.txt:
428         * webgl/2.0.0/conformance2/vertex_arrays/vertex-array-object-expected.txt:
429         * webgl/2.0.0/resources/webkit-webgl-test-harness.js:
430         (list):
431         (window.webglTestHarness.reportResults):
432         (window.webglTestHarness.notifyFinished):
433
434 2018-09-11  Myles C. Maxfield  <mmaxfield@apple.com>
435
436         Crash under PlatformPopupMenuData::encode when interacting with a select menu that has variable fonts
437         https://bugs.webkit.org/show_bug.cgi?id=188008
438
439         Reviewed by Alex Christensen.
440
441         * fast/text/variations/ipc2-expected.txt: Added.
442         * fast/text/variations/ipc2.html: Added.
443
444 2018-09-11  Woodrow Wang  <woodrow_wang@apple.com>
445
446         Add Web API Statistics Collection
447         https://bugs.webkit.org/show_bug.cgi?id=187773
448         <rdar://problem/44155162>
449
450         Reviewed by Brent Fulgham.
451
452         Added new tests and expectations for the web API statistics data collection.
453
454         * TestExpectations:
455         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt: Added.
456         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection.html: Added.
457         * http/tests/webAPIStatistics/font-load-data-collection-expected.txt: Added.
458         * http/tests/webAPIStatistics/font-load-data-collection.html: Added.
459         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt: Added.
460         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection.html: Added.
461         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt: Added.
462         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection.html: Added.
463         * platform/ios-wk2/TestExpectations:
464         * platform/mac-wk2/TestExpectations:
465
466 2018-09-11  Frederic Wang  <fwang@igalia.com>
467
468         Modify more tests to use document.scrollingElement to access viewport scroll properties
469         https://bugs.webkit.org/show_bug.cgi?id=189495
470
471         After r235806, it is wrong to use document.body to access scroll properties of the viewport
472         in standard mode. New tests added since r227781 are modified to use
473         document.scrollingElement instead and avoid flaky behavior. For consistency, we do the same
474         for old tests in quirks mode. Note that WPT tests as well as the following tests using
475         document.body on purpose are not modified:
476         - fast/dom/Element/*
477         - events/scroll-in-scaled-page-with-overflow-hidden.html
478         - compositing/ios/overflow-scroll-update-overlap.html
479         - body-stuck-with-dirty-bit-with-columns.html
480
481         Reviewed by Antonio Gomes.
482
483         * compositing/rtl/rtl-absolute-overflow-scrolled.html:
484         * compositing/rtl/rtl-fixed-overflow-scrolled.html:
485         * editing/caret/ios/absolute-caret-position-after-scroll.html:
486         * editing/caret/ios/fixed-caret-position-after-scroll.html:
487         * editing/execCommand/delete-no-scroll.html:
488         * editing/input/resources/reveal-utilities.js:
489         (performJumpAtTheEdgeTest):
490         * editing/pasteboard/copy-crash.html:
491         * editing/selection/ios/absolute-selection-after-scroll.html:
492         * editing/selection/ios/fixed-selection-after-scroll.html:
493         * fast/autoresize/autoresize-with-iframe-expected.txt:
494         * fast/autoresize/autoresize-with-iframe.html:
495         * fast/autoresize/basic-expected.txt:
496         * fast/autoresize/basic.html:
497         * fast/autoresize/turn-off-autoresize-expected.txt:
498         * fast/autoresize/turn-off-autoresize.html:
499         * fast/css/element-scrollByLines-scrollByPages-obsolete.html:
500         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
501         * fast/dom/non-numeric-values-numeric-parameters.html:
502         * fast/dom/resources/check-scroll-position-onload.html:
503         * fast/dom/scroll-position-for-new-loads.html:
504         * fast/events/attempt-scroll-with-no-scrollbars.html:
505         * fast/events/fire-scroll-event.html:
506         * fast/events/frame-scroll-fake-mouse-move.html:
507         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe-expected.txt:
508         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe.html:
509         * fast/events/ios/touch-events-during-scroll-deceleration-in-overflow.html:
510         * fast/events/mouse-cursor-image-set.html:
511         * fast/events/mouse-cursor-multiframecur.html:
512         * fast/events/mouse-cursor.html:
513         * fast/events/no-scroll-on-input-text-selection-expected.txt:
514         * fast/events/no-scroll-on-input-text-selection.html:
515         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page-expected.txt:
516         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html:
517         * fast/events/platform-wheelevent-paging-x-in-scrolling-page-expected.txt:
518         * fast/events/platform-wheelevent-paging-x-in-scrolling-page.html:
519         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page-expected.txt:
520         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html:
521         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page-expected.txt:
522         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html:
523         * fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt:
524         * fast/events/platform-wheelevent-paging-y-in-scrolling-page.html:
525         * fast/events/scale-and-scroll-body-expected.txt:
526         * fast/events/scale-and-scroll-body.html:
527         * fast/events/scale-and-scroll-window-expected.txt:
528         * fast/events/scale-and-scroll-window.html:
529         * fast/events/scroll-after-click-on-tab-index.html:
530         * fast/events/scroll-to-anchor-in-overflow-hidden.html:
531         * fast/events/touch/ios/touchmove-cancelable-after-touchstart-expected.txt:
532         * fast/events/touch/ios/touchmove-cancelable-after-touchstart.html:
533         * fast/forms/autofocus-opera-003.html:
534         * fast/forms/input-readonly-autoscroll.html:
535         * fast/forms/resources/common.js:
536         (getAbsoluteRect):
537         * fast/frames/iframe-scroll-page-up-down.html:
538         * fast/frames/transparent-scrollbar.html:
539         * fast/harness/results.html:
540         * fast/html/empty-fragment-id-goto-top-expected.txt:
541         * fast/html/empty-fragment-id-goto-top.html:
542         * fast/images/imagemap-scroll.html:
543         * fast/loader/scroll-position-restored-on-back-non-cached.html:
544         * fast/loader/scroll-position-restored-on-back.html:
545         * fast/multicol/body-stuck-with-dirty-bit-with-columns.html:
546         * fast/repaint/resources/iframe-scroll-repaint-iframe.html:
547         * fast/scrolling/ios/iframe-scroll-into-view.html:
548         * fast/scrolling/latching/scroll-div-latched-div.html:
549         * fast/scrolling/latching/scroll-div-latched-mainframe.html:
550         * fast/scrolling/latching/scroll-div-with-nested-nonscrollable-iframe.html:
551         * fast/scrolling/latching/scroll-iframe-fragment.html:
552         * fast/scrolling/latching/scroll-iframe-latched-iframe.html:
553         * fast/scrolling/latching/scroll-iframe-latched-mainframe.html:
554         * fast/scrolling/latching/scroll-iframe-webkit1-latching-bug.html:
555         * fast/scrolling/latching/scroll-select-bottom-test.html:
556         * fast/scrolling/latching/scroll-select-latched-mainframe.html:
557         * fast/scrolling/latching/scroll-select-latched-select.html:
558         * fast/scrolling/rtl-point-in-iframe.html:
559         * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html:
560         * fast/table/assert-when-visual-overflow-is-cleared.html:
561         * fast/transforms/selection-bounds-in-transformed-view.html:
562         * http/tests/navigation/anchor-frames-cross-origin-expected.txt:
563         * http/tests/navigation/resources/frame-with-anchor-cross-origin.html:
564         * jquery/resources/test/unit/offset.js:
565         * legacy-animation-engine/fast/harness/results.html:
566         * media/video-controls-to-not-scroll-page-on-load.html:
567         * media/video-main-content-allow-then-scroll-expected.txt:
568         * media/video-main-content-allow-then-scroll.html:
569         * scrollbars/scrollbar-large-overflow-rectangle.html:
570         * tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler.html:
571         * tiled-drawing/scrolling/fast-scroll-div-latched-div.html:
572         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler.html:
573         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler.html:
574         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe.html:
575         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler.html:
576         * tiled-drawing/scrolling/fast-scroll-iframe-latched-select.html:
577         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:
578         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html:
579         * tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler.html:
580         * tiled-drawing/scrolling/fast-scroll-select-latched-select.html:
581         * tiled-drawing/scrolling/latched-to-deleted-node.html:
582         * tiled-drawing/scrolling/non-fast-region/top-content-inset-header.html:
583         * tiled-drawing/scrolling/non-fast-region/top-content-inset.html:
584         * tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html:
585         * tiled-drawing/scrolling/root-overflow-with-mousewheel.html:
586         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
587         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
588         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
589         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
590         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
591         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html:
592
593 == Rolled over to ChangeLog-2018-09-11 ==