Crash in HTMLCollection::updateNamedElementCache
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-12-04  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Crash in HTMLCollection::updateNamedElementCache
4         https://bugs.webkit.org/show_bug.cgi?id=192347
5
6         Reviewed by Darin Adler.
7
8         Added a regression test. We can't simply call select.options.item
9         to catch this crash because the generated bidning code first call length()
10         to check if the index is within the valid range.
11
12         * fast/dom/options-collection-zero-length-crash-expected.txt: Added.
13         * fast/dom/options-collection-zero-length-crash.html: Added.
14
15 2018-11-30  Jiewen Tan  <jiewen_tan@apple.com>
16
17         Don't report resource timing to parent frame for history items
18         https://bugs.webkit.org/show_bug.cgi?id=192273
19         <rdar://problem/45163764>
20
21         Reviewed by Youenn Fablet.
22
23         * http/tests/misc/resource-timing-navigation-in-restored-iframe-2-expected.txt: Added.
24         * http/tests/misc/resource-timing-navigation-in-restored-iframe-2.html: Copied from LayoutTests/http/tests/misc/resource-timing-navigation-in-restored-iframe.html.
25         * http/tests/misc/resource-timing-navigation-in-restored-iframe.html:
26
27 2018-12-04  Simon Fraser  <simon.fraser@apple.com>
28
29         REGRESSION (r238090): position:fixed sidebar on https://www.w3.org/TR/SVG2/coords.html does not stay fixed
30         https://bugs.webkit.org/show_bug.cgi?id=192320
31         <rdar://problem/46429833>
32
33         Reviewed by Zalan Bujtas.
34
35         * compositing/fixed-with-main-thread-scrolling-expected.html: Added.
36         * compositing/fixed-with-main-thread-scrolling.html: Added.
37         * platform/ios/TestExpectations:
38
39 2018-12-04  Youenn Fablet  <youenn@apple.com>
40
41         [iOS] Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https.html is a flaky failure
42         https://bugs.webkit.org/show_bug.cgi?id=189727
43         <rdar://problem/44584993>
44
45         Unreviewed.
46
47         * platform/ios/TestExpectations: Update expectation to dump JS console lines in stderr.
48
49 2018-12-04  Youenn Fablet  <youenn@apple.com>
50
51         Fix MediaRecorder flaky tests
52         https://bugs.webkit.org/show_bug.cgi?id=192371
53
54         Reviewed by Eric Carlson.
55
56         Updated tests to make them less flaky and more debuggable.
57
58         * http/wpt/mediarecorder/MediaRecorder-AV-audio-only-dataavailable.html:
59         * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
60         * http/wpt/mediarecorder/MediaRecorder-AV-video-only-dataavailable.html:
61         * platform/gtk/TestExpectations:
62         * platform/wpe/TestExpectations:
63
64 2018-12-04  Justin Michaud  <justin_michaud@apple.com>
65
66         CSS Painting API should allow image values in inputProperties
67         https://bugs.webkit.org/show_bug.cgi?id=192200
68
69         Reviewed by Dean Jackson.
70
71         * fast/css-custom-paint/arguments-expected.html: Added.
72         * fast/css-custom-paint/arguments.html: Added.
73         * fast/css-custom-paint/image-expected.html: Added.
74         * fast/css-custom-paint/image.html: Added.
75         * fast/css-custom-paint/resources/test-image.png: Added.
76
77 2018-12-04  Ryan Haddad  <ryanhaddad@apple.com>
78
79         Unreviewed, rolling out r238838.
80
81         The layout test added with this change is failing on iOS.
82
83         Reverted changeset:
84
85         "Thick overlines and line-throughs grow in the wrong
86         direction"
87         https://bugs.webkit.org/show_bug.cgi?id=192264
88         https://trac.webkit.org/changeset/238838
89
90 2018-12-04  Ryan Haddad  <ryanhaddad@apple.com>
91
92         Unreviewed, rolling out r238840.
93
94         The layout test added with this change is frequently failing.
95
96         Reverted changeset:
97
98         "REGRESSION (r238090): position:fixed sidebar on
99         https://www.w3.org/TR/SVG2/coords.html does not stay fixed"
100         https://bugs.webkit.org/show_bug.cgi?id=192320
101         https://trac.webkit.org/changeset/238840
102
103 2018-12-04  Devin Rousso  <drousso@apple.com>
104
105         Web Inspector: Audit: tests should support async operations
106         https://bugs.webkit.org/show_bug.cgi?id=192171
107         <rdar://problem/46423562>
108
109         Reviewed by Joseph Pecoraro.
110
111         * inspector/audit/resources/audit-utilities.js:
112         (TestPage.registerInitializer.InspectorTest.Audit.addFunctionlessTest):
113         (TestPage.registerInitializer.InspectorTest.Audit.addStringTest):
114         (TestPage.registerInitializer.InspectorTest.Audit.addObjectTest):
115         (TestPage.registerInitializer.InspectorTest.Audit.addPromiseTest): Added.
116         * inspector/audit/basic-expected.txt:
117         * inspector/audit/basic.html:
118
119         * inspector/model/auditTestCaseResult-expected.txt:
120         * inspector/model/auditTestCaseResult.html:
121         * inspector/model/auditTestGroupResult-expected.txt:
122         * inspector/model/auditTestGroupResult.html:
123
124         * inspector/runtime/awaitPromise-expected.txt: Added.
125         * inspector/runtime/awaitPromise.html: Added.
126
127 2018-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
128
129         [GTK] Bump freetype, fontconfig, harfbuzz, cairo and icu in jhbuild
130         https://bugs.webkit.org/show_bug.cgi?id=192310
131
132         Reviewed by Michael Catanzaro.
133
134         Rebaseline tests.
135
136         * platform/gtk/fast/text/format-control-expected.png:
137         * platform/gtk/fast/text/format-control-expected.txt:
138         * platform/gtk/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png:
139         * platform/gtk/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt:
140         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
141         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
142         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
143         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
144         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
145         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
146         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
147         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
148         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
149         * platform/gtk/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
150         * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png:
151         * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt:
152         * platform/gtk/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
153         * platform/gtk/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt:
154         * platform/gtk/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png:
155         * platform/gtk/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt:
156         * platform/gtk/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.png:
157         * platform/gtk/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.txt:
158         * platform/gtk/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png:
159         * platform/gtk/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt:
160         * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
161         * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
162         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png:
163         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt:
164         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png:
165         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt:
166         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png:
167         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt:
168         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
169         * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
170         * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png:
171         * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt:
172         * platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png:
173         * platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt:
174         * platform/gtk/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png:
175         * platform/gtk/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt:
176         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.png:
177         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt:
178         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png:
179         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:
180         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.png:
181         * platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt:
182         * platform/gtk/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.png:
183         * platform/gtk/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.txt:
184         * platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png:
185         * platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt:
186         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
187         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
188         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
189         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
190         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
191         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
192         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
193         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
194         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
195         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
196         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
197         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
198         * platform/gtk/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
199         * platform/gtk/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt:
200         * platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
201         * platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt:
202         * platform/gtk/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png:
203         * platform/gtk/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
204         * platform/gtk/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png:
205         * platform/gtk/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
206         * platform/gtk/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
207         * platform/gtk/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
208         * platform/gtk/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
209         * platform/gtk/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
210         * platform/gtk/svg/custom/glyph-transformation-with-hkern-expected.png:
211         * platform/gtk/svg/custom/glyph-transformation-with-hkern-expected.txt:
212         * platform/gtk/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
213         * platform/gtk/svg/foreignObject/text-tref-02-b-expected.png:
214         * platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:
215         * platform/gtk/svg/text/text-hkern-on-vertical-text-expected.png:
216         * platform/gtk/svg/text/text-hkern-on-vertical-text-expected.txt:
217         * platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.png:
218         * platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
219
220 2018-12-03  Youenn Fablet  <youenn@apple.com>
221
222         A sender created through addTransceiver and populated using addTrack should have its source set
223         https://bugs.webkit.org/show_bug.cgi?id=192136
224
225         Reviewed by Eric Carlson.
226
227         * webrtc/video-replace-track-expected.txt:
228         * webrtc/video-replace-track.html:
229
230 2018-12-03  YUHAN WU  <yuhan_wu@apple.com>
231
232         Implement non-timeslice mode encoding for MediaRecorder
233         https://bugs.webkit.org/show_bug.cgi?id=192069
234
235         Reviewed by Youenn Fablet.
236
237         Create new tests for encoding of MediaRecorder. Check if the produced video and audio are correct.
238         Add code to turn on the mock source of MediaRecorder for the two old tests because the real source is enabled by default.
239
240         * http/wpt/mediarecorder/MediaRecorder-AV-audio-only-dataavailable-expected.txt: Added.
241         * http/wpt/mediarecorder/MediaRecorder-AV-audio-only-dataavailable.html: Added.
242         * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable-expected.txt: Added.
243         * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html: Added.
244         * http/wpt/mediarecorder/MediaRecorder-AV-video-only-dataavailable-expected.txt: Added.
245         * http/wpt/mediarecorder/MediaRecorder-AV-video-only-dataavailable.html: Added.
246         * http/wpt/mediarecorder/MediaRecorder-dataavailable.html:
247         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html:
248
249 2018-12-03  Simon Fraser  <simon.fraser@apple.com>
250
251         REGRESSION (r238090): position:fixed sidebar on https://www.w3.org/TR/SVG2/coords.html does not stay fixed
252         https://bugs.webkit.org/show_bug.cgi?id=192320
253         <rdar://problem/46429833>
254
255         Reviewed by Zalan Bujtas.
256
257         * compositing/fixed-with-main-thread-scrolling-expected.html: Added.
258         * compositing/fixed-with-main-thread-scrolling.html: Added.
259
260 2018-12-03  Justin Michaud  <justin_michaud@apple.com>
261
262         CSS Painting API should scale display list when drawing
263         https://bugs.webkit.org/show_bug.cgi?id=192217
264
265         Reviewed by Simon Fraser.
266
267         * fast/css-custom-paint/properties-expected.html:
268         * fast/css-custom-paint/registerPaintBindings-expected.html:
269         * fast/css-custom-paint/simple-hidpi-expected.html: Added.
270         * fast/css-custom-paint/simple-hidpi.html: Added.
271         * fast/css-custom-paint/worklet-expected.html:
272
273 2018-12-03  Myles C. Maxfield  <mmaxfield@apple.com>
274
275         Thick overlines and line-throughs grow in the wrong direction
276         https://bugs.webkit.org/show_bug.cgi?id=192264
277
278         Reviewed by Dean Jackson.
279
280         I can't figure out a way to test the line-through, so this just tests the overline.
281
282         * fast/css3-text/css3-text-decoration/text-decoration-thicknes-overline-grow-direction-expected.html: Added.
283         * fast/css3-text/css3-text-decoration/text-decoration-thicknes-overline-grow-direction.html: Added.
284
285 2018-12-03  Ryan Haddad  <ryanhaddad@apple.com>
286
287         [css-grid] Crash on debug changing the style of a positioned element
288         https://bugs.webkit.org/show_bug.cgi?id=191473
289
290         Unreviewed test gardening.
291
292         * TestExpectations: Skip crashing layout test.
293
294 2018-12-03  Daniel Bates  <dabates@apple.com>
295
296         [iOS] Do not handle key events that are key commands
297         https://bugs.webkit.org/show_bug.cgi?id=191608
298         <rdar://problem/46046013>
299
300         Reviewed by Ryosuke Niwa.
301
302         Add tests to ensure that we process key commands correctly.
303
304         * fast/events/ios/key-command-italic-dispatches-keydown-expected.txt: Added.
305         * fast/events/ios/key-command-italic-dispatches-keydown.html: Added.
306         * fast/events/ios/key-command-italic-expected.txt: Added.
307         * fast/events/ios/key-command-italic.html: Added.
308         * fast/events/ios/type-digits-holding-control-key-expected.txt: Added.
309         * fast/events/ios/type-digits-holding-control-key.html: Added.
310         * platform/ios-wk1/TestExpectations:
311
312 2018-12-03  Ryosuke Niwa  <rniwa@webkit.org>
313
314         title attribute on style & link elements should be ignored inside a shadow tree
315         https://bugs.webkit.org/show_bug.cgi?id=191297
316
317         Reviewed by Antti Koivisto.
318
319         Adde a W3C-style testharness.js test for a more comprehensive testing of the title content attribute
320         on HTML link and style elements and SVG style element inside a shadow tree.
321
322         * TestExpectations:
323         * fast/shadow-dom/resources/green-div.css: Added.
324         * fast/shadow-dom/resources/red-div.css: Added.
325         * fast/shadow-dom/stylesheet-title-in-shadow-tree-expected.txt: Added.
326         * fast/shadow-dom/stylesheet-title-in-shadow-tree.html: Added.
327
328 2018-12-03  Truitt Savell  <tsavell@apple.com>
329
330         Modify unexpected new line in test after https://trac.webkit.org/changeset/238765/webkit
331         https://bugs.webkit.org/show_bug.cgi?id=192201
332
333         Unreviewed Test Gardening.
334
335         * platform/ios/compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt:
336
337 2018-12-03  Eric Carlson  <eric.carlson@apple.com>
338
339         [MediaStream] 'devicechange' event when more capture device information are revealed.
340         https://bugs.webkit.org/show_bug.cgi?id=192268
341
342         Reviewed by Youenn Fablet.
343
344         * fast/mediastream/device-change-event-2.html: Fix bogus title.
345         * fast/mediastream/enumerate-devices-change-event-expected.txt: Added.
346         * fast/mediastream/enumerate-devices-change-event.html: Added.
347
348 2018-12-03  Guillaume Emont  <guijemont@igalia.com>
349
350         Gardening: unskip marsaglia.js on arm
351
352         Unreviewed Test Gardening.
353
354         Bug 192152 has been fixed by r238778, so this test should not time out
355         any more.
356
357         * js/slow-stress/script-tests/marsaglia.js:
358
359 2018-12-03  Yacine Bandou  <yacine.bandou@softathome.com>
360
361         [EME][ClearKey] Add layout test for dynamic change of key and video resolution
362         https://bugs.webkit.org/show_bug.cgi?id=191926
363
364         Reviewed by Xabier Rodriguez-Calvar.
365
366        Add new layout tests in order to test the playback of ClearKey encrypted video content with
367        a change of key and resolution during decoding.
368        The test starts by playing a ClearKey video with a resolution of 240p, then, in the third second,
369        the resolution of the video will change to 480p with a new ClearKey key.
370
371         * media/content/encrypted/segments/VideoClearKeyCenc-seg-240-0.mp4: Added.
372         * media/content/encrypted/segments/VideoClearKeyCenc-seg-240-1.mp4: Added.
373         * media/content/encrypted/segments/VideoClearKeyCenc-seg-240-2.mp4: Added.
374         * media/content/encrypted/segments/VideoClearKeyCenc-seg-240-3.mp4: Added.
375         * media/content/encrypted/segments/VideoClearKeyCenc-seg-480-0.mp4: Added.
376         * media/content/encrypted/segments/VideoClearKeyCenc-seg-480-4.mp4: Added.
377         * media/content/encrypted/segments/VideoClearKeyCenc-seg-480-5.mp4: Added.
378         * media/content/encrypted/segments/VideoClearKeyCenc-seg-480-6.mp4: Added.
379         * media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse-multikey-expected.txt: Added.
380         * media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse-multikey.html: Added.
381         * media/encrypted-media/medias-enc.js:
382         * platform/gtk/TestExpectations:
383         * platform/mac/TestExpectations:
384
385 2018-11-30  Youenn Fablet  <youenn@apple.com>
386
387         Test that CSS subresource loading are exposed to resource timing in case of a CORS loaded CSS stylesheet but not imported stylesheets
388         https://bugs.webkit.org/show_bug.cgi?id=192232
389
390         Reviewed by Dean Jackson.
391
392         * http/tests/security/cross-origin-clean-css-resource-timing-expected.txt: Added.
393         * http/tests/security/cross-origin-clean-css-resource-timing.html: Added.
394         * http/tests/security/resources/loading-subresources.php: Added.
395
396 2018-11-30  Truitt Savell  <tsavell@apple.com>
397
398         Rebaseline test after https://trac.webkit.org/changeset/238725/webkit
399         https://bugs.webkit.org/show_bug.cgi?id=192201
400
401         Unreviewed Test Gardening.
402
403         * platform/ios/compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt: Added.
404
405 2018-11-30  Justin Fan  <justin_fan@apple.com>
406
407         [WebGPU] WebGPUQueue::submit and WebGPURenderingContext::present() implementation
408         https://bugs.webkit.org/show_bug.cgi?id=192254
409
410         Reviewed by Dean Jackson.
411
412         Update webgpu-basics to render an image into canvas. Also added ref-test that draws 
413         a green square onto a canvas using WebGPU; reference uses 2D canvas.
414
415         * webgpu/js/basic-webgpu-functions.js:
416         (render):
417         * webgpu/simple-triangle-strip-expected.html: Added.
418         * webgpu/simple-triangle-strip.html: Added.
419         * webgpu/webgpu-basics.html:
420
421 2018-11-30  Zalan Bujtas  <zalan@apple.com>
422
423         Can’t use RalphLauren.com on iPad because hover menus don’t stay up
424         https://bugs.webkit.org/show_bug.cgi?id=192236
425         <rdar://problem/45792118>
426
427         Reviewed by Geoffrey Garen.
428
429         * fast/events/touch/ios/hover-when-style-change-is-async-expected.txt: Added.
430         * fast/events/touch/ios/hover-when-style-change-is-async.html: Added.
431
432 2018-11-30  Ryosuke Niwa  <rniwa@webkit.org>
433
434         ShadowRoot should have styleSheets property
435         https://bugs.webkit.org/show_bug.cgi?id=191311
436         <rdar://problem/46333290>
437
438         Reviewed by Antti Koivisto.
439
440         Added a regression test for testing that the JS wrapper of a StyleSheetList does not get collected
441         as long as its shadow root is alive.
442
443         * fast/shadow-dom/shadowroot-stylesheets-wrapper-gc-expected.txt: Added.
444         * fast/shadow-dom/shadowroot-stylesheets-wrapper-gc.html: Added.
445
446 2018-11-30  Wenson Hsieh  <wenson_hsieh@apple.com>
447
448         Replace "auto fill" with "AutoFill" in some localizable strings
449         https://bugs.webkit.org/show_bug.cgi?id=192233
450         <rdar://problem/46311614>
451
452         Reviewed by Chris Fleizach.
453
454         Rebaseline a test.
455
456         * accessibility/auto-fill-types-expected.txt:
457
458 2018-11-30  Devin Rousso  <drousso@apple.com>
459
460         Web Inspector: replace all unicode characters with the escaped character code
461         https://bugs.webkit.org/show_bug.cgi?id=192216
462         <rdar://problem/46275637>
463
464         Reviewed by Brian Burg.
465
466         * inspector/audit/data-domAttributes-expected.txt:
467         * inspector/audit/data-domNodes-expected.txt:
468         * inspector/audit/data-errors-expected.txt:
469
470 2018-11-30  Justin Fan  <justin_fan@apple.com>
471
472         [WebGPU] Flesh out WebGPURenderPassDescriptor to match the WebGPU IDL
473         https://bugs.webkit.org/show_bug.cgi?id=192213
474
475         Reviewed by Dean Jackson.
476
477         Updating some tests to match the updated WebGPURenderPassDescriptor. 
478
479         * webgpu/js/basic-webgpu-functions.js:
480         (render):
481         * webgpu/render-command-encoding.html:
482         * webgpu/render-passes.html:
483
484 2018-11-30  Zalan Bujtas  <zalan@apple.com>
485
486         [LFC][BFC] Compute min/maxHeight margins only when they are needed.
487         https://bugs.webkit.org/show_bug.cgi?id=192223
488
489         Reviewed by Antti Koivisto.
490
491         * fast/block/block-only/collapsed-margin-with-min-height-expected.txt: Added.
492         * fast/block/block-only/collapsed-margin-with-min-height.html: Added.
493
494 2018-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
495
496         Unreviewed GTK+ gardening. Stop running tests without complex text enforced
497
498         Rebaseline tests. Part 3.
499
500 2018-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
501
502         Unreviewed GTK+ gardening. Stop running tests without complex text enforced
503
504         Rebaseline tests. Part 2.
505
506 2018-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
507
508         Unreviewed GTK+ gardening. Stop running tests without complex text enforced
509
510         Rebaseline tests. Part 1.
511
512 2018-11-29  Frederic Wang  <fwang@igalia.com>
513
514         Separate paint and scroll offsets for RenderLayerBacking::m_scrollingContentsLayer
515         https://bugs.webkit.org/show_bug.cgi?id=183040
516
517         Reviewed by Simon Fraser.
518
519         Update expectations containing layer trees of RenderLayerBacking::m_scrollingContentsLayer, to separate offsetFromRenderer and
520         scrollOffset. We have OLD offsetFromRenderer = NEW offsetFromRenderer - scrollOffset.
521
522         * compositing/ios/overflow-scroll-touch-tiles-expected.txt:
523         * fast/scrolling/ios/overflow-scroll-touch-expected.txt:
524         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
525         * platform/ios/compositing/overflow/scrolling-without-painting-expected.txt:
526         * platform/ios/compositing/overflow/textarea-scroll-touch-expected.txt:
527         * platform/ios/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt:
528         * platform/ios/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
529         * platform/ios/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
530         * platform/ios/fast/scrolling/ios/textarea-scroll-touch-expected.txt:
531
532 2018-11-29  Simon Fraser  <simon.fraser@apple.com>
533
534         Overflow scrolling layers need to be self-painting
535         https://bugs.webkit.org/show_bug.cgi?id=192201
536
537         Reviewed by Dean Jackson.
538
539         * compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt: Added.
540         * compositing/scrolling/overflow-scrolling-layers-are-self-painting.html: Added.
541
542 2018-11-29  Eric Carlson  <eric.carlson@apple.com>
543
544         [MediaStream] DeviceIdHashSaltStorage should use iframe and top level documents
545         https://bugs.webkit.org/show_bug.cgi?id=192182
546
547         Reviewed by Youenn Fablet.
548
549         * http/tests/media/media-stream/enumerate-devices-source-id-expected.txt:
550         * http/tests/media/media-stream/enumerate-devices-source-id.html:
551         * http/tests/media/media-stream/resources/enumerate-devices-source-id-frame.html:
552
553 2018-11-29  Christopher Reid  <chris.reid@sony.com>
554
555         [Win] listDirectory in FileSystemWin.cpp should not skip all directories
556         https://bugs.webkit.org/show_bug.cgi?id=192042
557
558         Reviewed by Fujii Hironori.
559
560         Enable storage tests on WinCairo and adding initial test expectations.
561
562         * platform/wincairo/TestExpectations:
563
564 2018-11-29  Ryan Haddad  <ryanhaddad@apple.com>
565
566         Unreviewed, rolling out r238680.
567
568         Caused existing webrtc layout tests to fail an assertion.
569
570         Reverted changeset:
571
572         "A sender created through addTransceiver and populated using
573         addTrack should have its source set"
574         https://bugs.webkit.org/show_bug.cgi?id=192136
575         https://trac.webkit.org/changeset/238680
576
577 2018-11-29  Ryan Haddad  <ryanhaddad@apple.com>
578
579         REGRESSION (r238090): [ MacOS WK1 ] Layout Test imported/blink/compositing/squashing/squashing-into-ancestor-painted-layer.html is flaky
580         https://bugs.webkit.org/show_bug.cgi?id=191639
581
582         Unreviewed test gardening.
583
584         * platform/mac-wk1/TestExpectations: Mark test as flaky.
585
586 2018-11-29  Zalan Bujtas  <zalan@apple.com>
587
588         [LFC][BFC][Quirk] Body and html height stretching.
589         https://bugs.webkit.org/show_bug.cgi?id=192154
590
591         Reviewed by Antti Koivisto.
592
593         * fast/block/block-only/body-height-with-auto-html-height-quirk-expected.txt: Added.
594         * fast/block/block-only/body-height-with-auto-html-height-quirk.html: Added.
595         * fast/block/block-only/body-height-with-auto-html-height-quirk2-expected.txt: Added.
596         * fast/block/block-only/body-height-with-auto-html-height-quirk2.html: Added.
597         * fast/block/block-only/body-height-with-non-auto-html-height-quirk-expected.txt: Added.
598         * fast/block/block-only/body-height-with-non-auto-html-height-quirk.html: Added.
599         * fast/block/block-only/body-height-with-non-auto-html-height-quirk2-expected.txt: Added.
600         * fast/block/block-only/body-height-with-non-auto-html-height-quirk2.html: Added.
601
602 2018-11-29  Youenn Fablet  <youenn@apple.com>
603
604         CSS subresource loads should not be observable from resource timing if the stylesheet is opaque
605         https://bugs.webkit.org/show_bug.cgi?id=192132
606
607         Reviewed by Ryosuke Niwa.
608
609         * http/tests/security/clean-origin-css-exposed-resource-timing-expected.txt: Added.
610         * http/tests/security/clean-origin-css-exposed-resource-timinge-timing.html: Added.
611         * http/tests/security/cross-origin-css-resource-timing-expected.txt: Added.
612         * http/tests/security/cross-origin-css-resource-timing.html: Added.
613         * http/tests/security/resources/loading-subresources.css: Added.
614         * http/tests/security/resources/imported-loading-subresources.css: Added.
615
616 2018-11-29  Ryosuke Niwa  <rniwa@webkit.org>
617
618         Executing "insertunorderedlist" while selecting a contenteditable element inside a shadow dom hangs the browser
619         https://bugs.webkit.org/show_bug.cgi?id=184049
620         <rdar://problem/38931033>
621
622         Reviewed by Antti Koivisto.
623
624         Added a regression test for executing InsertUnorderedList inside a shadow tree.
625
626         * editing/execCommand/insert-ordered-list-in-shadow-tree-expected.txt: Added.
627         * editing/execCommand/insert-ordered-list-in-shadow-tree.html: Added.
628
629 2018-11-29  Justin Fan  <justin_fan@apple.com>
630
631         [WebGPU] WebGPURenderPassEncoder::setPipeline, draw, and endPass prototypes
632         https://bugs.webkit.org/show_bug.cgi?id=192134
633
634         Reviewed by Dean Jackson.
635
636         Updating the basic rendering test with more commands, and a prototype WPT-based test for WebGPURenderCommandEncoder's
637         new functionality.
638
639         * webgpu/js/basic-webgpu-functions.js:
640         (render):
641         * webgpu/render-command-encoding-expected.txt: Added.
642         * webgpu/render-command-encoding.html: Added.
643         * webgpu/render-passes.html:
644
645 2018-11-29  Justin Michaud  <justin_michaud@apple.com>
646
647         CSS Painting API should pass 'this' correctly to paint callback, and repaint when properties change.
648         https://bugs.webkit.org/show_bug.cgi?id=191443
649
650         Reviewed by Dean Jackson.
651
652         * fast/css-custom-paint/animate-expected.html: Added.
653         * fast/css-custom-paint/animate-repaint-expected.txt: Added.
654         * fast/css-custom-paint/animate-repaint.html: Added.
655         * fast/css-custom-paint/animate.html: Added.
656         * fast/css-custom-paint/constructor-expected.html: Added.
657         * fast/css-custom-paint/constructor.html: Added.
658         * fast/css-custom-paint/leaks-expected.txt: Added.
659         * fast/css-custom-paint/leaks.html: Added.
660         * fast/css-custom-paint/properties.html:
661         * fast/css-custom-paint/resources/leaks-frame.html: Added.
662         * platform/mac/fast/css-custom-paint/raf-leak-expected.txt: Added.
663
664 2018-11-29  Youenn Fablet  <youenn@apple.com>
665
666         A sender created through addTransceiver and populated using addTrack should have its source set
667         https://bugs.webkit.org/show_bug.cgi?id=192136
668
669         Reviewed by Eric Carlson.
670
671         * webrtc/video-replace-track-expected.txt:
672         * webrtc/video-replace-track.html:
673
674 2018-11-29  Ryan Haddad  <ryanhaddad@apple.com>
675
676         Unreviewed test gardening, skip three datalist tests that are marked as flaky crashes.
677
678         * TestExpectations:
679         * platform/ios/TestExpectations:
680         * platform/mac/TestExpectations:
681
682 2018-11-29  Sihui Liu  <sihui_liu@apple.com>
683
684         IndexedDB: breaks if binary data (Uint8Array) and autoIncrement key in store
685         https://bugs.webkit.org/show_bug.cgi?id=185869
686         <rdar://problem/40453623>
687
688         Reviewed by Geoffrey Garen.
689
690         * storage/indexeddb/objectstore-autoincrement-expected.txt:
691         * storage/indexeddb/objectstore-autoincrement-private-expected.txt:
692         * storage/indexeddb/resources/objectstore-autoincrement.js:
693         (getLincolnAfterInjectedKeySuccess):
694         (putBobSuccess):
695         (getBobSuccess):
696         (addLincolnWithExplicitKeySuccess):
697         (putAbrahamSuccess):
698
699 2018-11-29  Sihui Liu  <sihui_liu@apple.com>
700
701         Unexpected constructor / instanceof  behavior when retrieving indexedDB data in an iframe
702         https://bugs.webkit.org/show_bug.cgi?id=185906
703         <rdar://problem/40583100>
704
705         Reviewed by Geoffrey Garen.
706
707         * storage/indexeddb/instanceof-iframe-expected.txt: Added.
708         * storage/indexeddb/instanceof-iframe.html: Added.
709         * storage/indexeddb/resources/instanceof-iframe.js: Added.
710         (test.else.shouldBe):
711         (test.else.shouldBeTrue):
712         (test.else.shouldBeFalse):
713         (test.else.evalAndLog):
714         (test):
715         (callback):
716
717 2018-11-28  Dean Jackson  <dino@apple.com>
718
719         [ES Modules] Allow .mjs content when loaded from file://
720         https://bugs.webkit.org/show_bug.cgi?id=192100
721         <rdar://problem/46320065>
722
723         Reviewed by Sam Weinig.
724
725         Test for both import() function and the import statement loading
726         from .mjs files.
727
728         * js/dom/modules/import-mjs-module-expected.txt: Added.
729         * js/dom/modules/import-mjs-module.html: Added.
730         * js/dom/modules/resources/module-simple-A.mjs: Added.
731         * js/dom/modules/resources/module-simple-B.mjs: Added.
732         * platform/win/TestExpectations: Skip this on Windows. Just wait for Windows
733           to recognise the extension.
734
735 2018-11-29  Guillaume Emont  <guijemont@igalia.com>
736
737         Gardening: skip test that newly times out on Armv7
738
739         Unreviewed Test Gardening.
740
741         * js/slow-stress/script-tests/marsaglia.js: skip on arm/linux
742
743 2018-11-29  Miguel Gomez  <magomez@igalia.com>
744
745         Unreviewed GTK+ gardening after r238665.
746
747         * platform/gtk/TestExpectations:
748
749 2018-11-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
750
751         Updating href on linearGradient and radialGradient doesn't update its rendering
752         https://bugs.webkit.org/show_bug.cgi?id=191934
753
754         Reviewed by Ryosuke Niwa.
755
756         * fast/shadow-dom/svg-linear-gradient-dynamic-update-href-in-shadow-tree-expected.html: Added.
757         * fast/shadow-dom/svg-linear-gradient-dynamic-update-href-in-shadow-tree.html: Added.
758         * fast/shadow-dom/svg-radial-gradient-dynamic-update-href-in-shadow-tree-expected.html: Added.
759         * fast/shadow-dom/svg-radial-gradient-dynamic-update-href-in-shadow-tree.html: Added.
760         * svg/dynamic-updates/SVGLinearGradientElement-svgdom-href-prop-expected.html: Added.
761         * svg/dynamic-updates/SVGLinearGradientElement-svgdom-href-prop.html: Added.
762         * svg/dynamic-updates/SVGRadialGradientElement-svgdom-href-prop-expected.html: Added.
763         * svg/dynamic-updates/SVGRadialGradientElement-svgdom-href-prop.html: Added.
764
765 2018-11-28  Truitt Savell  <tsavell@apple.com>
766
767         [ Mojave WK1 ] Layout Test fast/images/animated-image-different-dest-size.html fast/images/animated-image-loop-count.html is failing
768         https://bugs.webkit.org/show_bug.cgi?id=190383
769
770         Unreviewed Test Gardening.
771
772         * platform/mac-wk1/TestExpectations:
773
774 2018-11-28  Justin Fan  <justin_fan@apple.com>
775
776         [WebGPU] Begin implementation of WebGPURenderPassEncoder and barebones WebGPURenderPassDescriptor
777         https://bugs.webkit.org/show_bug.cgi?id=191990
778
779         Reviewed by Dean Jackson.
780
781         Add tests to ensure proper WebGPURenderPassEncoder creation. To be updated as WebGPURenderPassDescriptor is updated.
782
783         * webgpu/js/basic-webgpu-functions.js:
784         (render):
785         * webgpu/render-passes-expected.txt: Added.
786         * webgpu/render-passes.html: Added.
787
788 2018-11-28  Rob Buis  <rbuis@igalia.com>
789
790         [XHR] Document.lastModified doesn't work for non-rendered documents
791         https://bugs.webkit.org/show_bug.cgi?id=179375
792
793         Reviewed by Alexey Proskuryakov.
794
795         Unskip responsexml-document-properties.htm since the dynamic message is gone.
796
797         * TestExpectations:
798         * platform/wpe/TestExpectations:
799
800 2018-11-28  Frederic Wang  <fwang@igalia.com>
801
802         [iOS Simulator Release WK2] media/no-fullscreen-when-hidden.html is flaky
803         https://bugs.webkit.org/show_bug.cgi?id=192088
804
805         Unreviewed test gardening.
806
807         * platform/ios-wk2/TestExpectations: Mark media/no-fullscreen-when-hidden.html as flaky.
808
809 2018-11-28  Yongjun Zhang  <yongjun_zhang@apple.com>
810
811         Allow WebKit clients to specify a minimum effective width for layout.
812         https://bugs.webkit.org/show_bug.cgi?id=191499
813         <rdar://problem/45362678>
814
815         Reviewed by Wenson Hsieh.
816
817         Add two new tests. The first test verifies if we ignore meta viewport, setting a different effective width value
818         will change the layout width of the page. The second test verifies if we don't ignore meta viewport, we will always
819         respect that (980pt) and setting a different effective width value won't change the layout width. 
820
821
822         * fast/viewport/ios/ipad/viewport-overriden-by-minimum-effective-width-if-ignore-meta-viewport-expected.txt: Added.
823         * fast/viewport/ios/ipad/viewport-overriden-by-minimum-effective-width-if-ignore-meta-viewport.html: Added.
824         * fast/viewport/ios/ipad/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport-expected.txt: Added.
825         * fast/viewport/ios/ipad/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport.html: Added.
826         * resources/ui-helper.js:
827         (window.UIHelper.setMinimumEffectiveWidth): Add a helper method to set the minimum effective width from a test.
828         (window.UIHelper):
829
830 2018-11-27  Jiewen Tan  <jiewen_tan@apple.com>
831
832         Unreviewed, test gardening
833
834         Add a time out parameter to the following test cases such that WebAuthN requests will timeout
835         themselves instead of letting the wpt wrapper or test runner kill them.
836
837         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
838         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
839         * platform/mac-wk2/TestExpectations:
840
841 2018-11-27  Chris Dumez  <cdumez@apple.com>
842
843         Resync service-workers web platform tests from upstream
844         https://bugs.webkit.org/show_bug.cgi?id=192035
845
846         Reviewed by Youenn Fablet.
847
848         * TestExpectations:
849         * tests-options.json:
850
851 2018-11-27  Simon Fraser  <simon.fraser@apple.com>
852
853         Momentum scrolling ends at the wrong place when a scrolling overflow element has a non-zero border
854         https://bugs.webkit.org/show_bug.cgi?id=191322
855
856         Reviewed by Dean Jackson.
857
858         * fast/scrolling/momentum-scroll-with-borders-expected.txt: Added.
859         * fast/scrolling/momentum-scroll-with-borders.html: Added.
860         * platform/ios/TestExpectations:
861
862 2018-11-27  Simon Fraser  <simon.fraser@apple.com>
863
864         Composited and tiled layers fail to update on scrolling in WebView
865         https://bugs.webkit.org/show_bug.cgi?id=191821
866         rdar://problem/46009272
867
868         Reviewed by Zalan Bujtas.
869         
870         Tests for backing store attachment, and tile coverage before and after scrolling.
871
872         * compositing/backing/backing-store-attachment-scroll-expected.txt: Added.
873         * compositing/backing/backing-store-attachment-scroll.html: Added.
874         * compositing/tiling/tile-coverage-on-scroll-expected.txt: Added.
875         * compositing/tiling/tile-coverage-on-scroll.html: Added.
876         * platform/mac-wk1/compositing/tiling/tile-coverage-on-scroll-expected.txt: Added. Root isn't tiled on WK1, so different result.
877
878 2018-11-27  Daniel Bates  <dabates@apple.com>
879
880         Fix test timeout following  <https://trac.webkit.org/changeset/238545>
881         (https://bugs.webkit.org/show_bug.cgi?id=191969)
882
883         Actually call HTMLInputElement.setSelectionRange().
884
885         * fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-after-hiding-auto-fill-strong-password-button-expected.html:
886
887 2018-11-27  Timothy Hatcher  <timothy@apple.com>
888
889         Web Inspector: Add support for forcing color scheme appearance in DOM tree.
890         https://bugs.webkit.org/show_bug.cgi?id=191820
891         rdar://problem/46153172
892
893         Reviewed by Devin Rousso.
894
895         * TestExpectations: Skip dark mode tests on other platforms.
896         * inspector/css/force-page-appearance-expected.txt: Added.
897         * inspector/css/force-page-appearance.html: Added.
898         * platform/mac/TestExpectations: Expect dark mode tests to pass on Mojave and later.
899
900 2018-11-27  Tim Horton  <timothy_horton@apple.com>
901
902         Serialize and deserialize editable image strokes
903         https://bugs.webkit.org/show_bug.cgi?id=192002
904         <rdar://problem/30900149>
905
906         Reviewed by Dean Jackson.
907
908         * editing/images/paste-editable-image-expected.txt: Added.
909         * editing/images/paste-editable-image.html: Added.
910         Add a test that we can copy and paste and editable image and
911         continue to edit it, and are affecting a different attachment than the original.
912
913 2018-11-16  Jiewen Tan  <jiewen_tan@apple.com>
914
915         Disallow loading webarchives as iframes
916         https://bugs.webkit.org/show_bug.cgi?id=191728
917         <rdar://problem/45524528>
918
919         Reviewed by Youenn Fablet.
920
921         * platform/mac-wk1/webarchive/loading/test-loading-archive-subresource-expected.txt: Added.
922         * platform/mac/fast/loader/webarchive-encoding-respected.html:
923         * webarchive/loading/cache-expired-subresource.html:
924         * webarchive/loading/mainresource-null-mimetype-crash.html:
925         * webarchive/loading/missing-data.html:
926         * webarchive/loading/resources/test-loading-archive-main.webarchive: Copied from LayoutTests/webarchive/loading/test-loading-archive.html.
927         * webarchive/loading/test-loading-archive-subresource-expected.txt: Added.
928         * webarchive/loading/test-loading-archive-subresource-null-mimetype.html:
929         * webarchive/loading/test-loading-archive-subresource.html: Copied from LayoutTests/webarchive/loading/test-loading-archive.html.
930         * webarchive/loading/test-loading-archive.html:
931         * webarchive/loading/test-loading-top-archive-expected.txt: Added.
932         * webarchive/loading/test-loading-top-archive.html: Added.
933
934 2018-11-27  Per Arne Vollan  <pvollan@apple.com>
935
936         Layout Test svg/text/monospace-text-size-in-img.html is failing
937         https://bugs.webkit.org/show_bug.cgi?id=192011
938
939         Unreviewed test gardening.
940
941         * platform/win/TestExpectations:
942
943 2018-11-27  Per Arne Vollan  <pvollan@apple.com>
944
945         Layout Test fast/inline/simple-inline-with-out-of-flow-descendant.html is failing
946         https://bugs.webkit.org/show_bug.cgi?id=192010
947
948         Unreviewed test gardening.
949
950         * platform/win/TestExpectations:
951
952 2018-11-26  Daniel Bates  <dabates@apple.com>
953
954         REGRESSION (r238078): Do not draw caps lock indicator when Strong Password button is shown
955         https://bugs.webkit.org/show_bug.cgi?id=191969
956         <rdar://problem/46247569>
957
958         Reviewed by Dean Jackson.
959
960         Add tests to ensure that we show or hide the caps lock indicator depending on whether the
961         Strong Password button is visible.
962
963         * TestExpectations: Skip the tests below on all platforms. We will selectively enable them on Mac.
964         * fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-after-hiding-auto-fill-strong-password-button-expected.html: Added.
965         * fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-after-hiding-auto-fill-strong-password-button.html: Added.
966         * fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible-expected.html: Added.
967         * fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible.html: Added.
968         * platform/mac-wk2/TestExpectations: Mark the tests above as PASS so that we run them.
969
970 2018-11-26  Ryan Haddad  <ryanhaddad@apple.com>
971
972         Unreviewed, rolling out r238357.
973
974         One of the layout tests added with this change is failing on Mojave.
975
976         Reverted changeset:
977         "REGRESSION (r238078): Do not draw caps lock indicator when Strong Password button is shown"
978         https://bugs.webkit.org/show_bug.cgi?id=191969
979         https://trac.webkit.org/changeset/238513
980
981 2018-11-26  Tim Horton  <timothy_horton@apple.com>
982
983         Insert <attachment> elements under editable images to make their backing data accessible
984         https://bugs.webkit.org/show_bug.cgi?id=191844
985         <rdar://problem/30900149>
986
987         Reviewed by Simon Fraser.
988
989         * editing/images/editable-image-creates-attachment-expected.txt: Added.
990         * editing/images/editable-image-creates-attachment.html: Added.
991         * resources/ui-helper.js:
992         (window.UIHelper.attachmentInfo):
993         (window.UIHelper):
994
995 2018-11-26  Daniel Bates  <dabates@apple.com>
996
997         REGRESSION (r237738): Command Down Arrow doesn't scroll to the end of a page anymore
998         https://bugs.webkit.org/show_bug.cgi?id=191967
999         <rdar://problem/45976390>
1000
1001         Reviewed by Tim Horton.
1002
1003         Add tests to ensure that Command + Down Arrow and Command + Up Arrow scroll to the end of
1004         the page and the top of the page, respectively.
1005
1006         * fast/scrolling/ios/key-command-scroll-to-bottom-expected.html: Added.
1007         * fast/scrolling/ios/key-command-scroll-to-bottom.html: Added.
1008         * fast/scrolling/ios/key-command-scroll-to-top-expected.html: Added.
1009         * fast/scrolling/ios/key-command-scroll-to-top.html: Added.
1010         * resources/ui-helper.js:
1011         (window.UIHelper.keyDown): Pass the modifiers array to EventSender.keyDown() to make
1012         this function work on Mac.
1013
1014 2018-11-24  Ryosuke Niwa  <rniwa@webkit.org>
1015
1016         SVG use element inside a shadow tree cannot reference an element in the same tree
1017         https://bugs.webkit.org/show_bug.cgi?id=174977
1018         <rdar://problem/33665636>
1019
1020         Reviewed by Zalan Bujtas.
1021
1022         Added tests for specifying a fragment URL to refer to other elements within shadow trees.
1023
1024         This patch doesn't add a test for updating a fragment URL of linearGradient and radialGradient
1025         since it doesn't work at all even outside shadow trees. See webkit.org/b/191934.
1026
1027         * fast/shadow-dom/svg-animate-href-change-in-shadow-tree-expected.html: Added.
1028         * fast/shadow-dom/svg-animate-href-change-in-shadow-tree.html: Added.
1029         * fast/shadow-dom/svg-animate-href-in-shadow-tree-expected.html: Added.
1030         * fast/shadow-dom/svg-animate-href-in-shadow-tree.html: Added.
1031         * fast/shadow-dom/svg-feimage-href-in-shadow-tree-expected.html: Added.
1032         * fast/shadow-dom/svg-feimage-href-in-shadow-tree.html: Added.
1033         * fast/shadow-dom/svg-linear-gradient-href-in-shadow-tree-expected.html: Added.
1034         * fast/shadow-dom/svg-linear-gradient-href-in-shadow-tree.html: Added.
1035         * fast/shadow-dom/svg-mpath-href-change-in-shadow-tree-expected.html: Added.
1036         * fast/shadow-dom/svg-mpath-href-change-in-shadow-tree.html: Added.
1037         * fast/shadow-dom/svg-mpath-href-in-shadow-tree-expected.html: Added.
1038         * fast/shadow-dom/svg-mpath-href-in-shadow-tree.html: Added.
1039         * fast/shadow-dom/svg-radial-gradient-href-in-shadow-tree-expected.html: Added.
1040         * fast/shadow-dom/svg-radial-gradient-href-in-shadow-tree.html: Added.
1041         * fast/shadow-dom/svg-text-path-href-change-in-shadow-tree-expected.html: Added.
1042         * fast/shadow-dom/svg-text-path-href-change-in-shadow-tree.html: Added.
1043         * fast/shadow-dom/svg-text-path-href-in-shadow-tree-expected.html: Added.
1044         * fast/shadow-dom/svg-text-path-href-in-shadow-tree.html: Added.
1045         * fast/shadow-dom/svg-thref-href-change-in-shadow-tree-expected.html: Added.
1046         * fast/shadow-dom/svg-thref-href-change-in-shadow-tree.html: Added.
1047         * fast/shadow-dom/svg-thref-href-in-shadow-tree-expected.html: Added.
1048         * fast/shadow-dom/svg-thref-href-in-shadow-tree.html: Added.
1049         * fast/shadow-dom/svg-use-href-change-in-shadow-tree-expected.html: Added.
1050         * fast/shadow-dom/svg-use-href-change-in-shadow-tree.html: Added.
1051         * fast/shadow-dom/svg-use-href-in-shadow-tree-expected.html: Added.
1052         * fast/shadow-dom/svg-use-href-in-shadow-tree.html: Added.
1053
1054 2018-11-26  Daniel Bates  <dabates@apple.com>
1055
1056         Caret disappears at end of password field when caps lock indicator is shown; password field
1057         not scrolled when caps lock indicator is shown
1058         https://bugs.webkit.org/show_bug.cgi?id=191164
1059         <rdar://problem/45738179>
1060
1061         Reviewed by Dean Jackson.
1062
1063         Add a test to ensure that we scroll the password field when caps lock is toggled.
1064
1065         * TestExpectations: Skip the test on all platforms as we only support toggling Caps Lock in
1066         WebKit2 on Mac at the moment.
1067         * fast/forms/password-scrolled-after-caps-lock-toggled-expected.txt: Added.
1068         * fast/forms/password-scrolled-after-caps-lock-toggled.html: Added.
1069         * platform/mac-wk2/TestExpectations: Mark the test as PASS so that we run it.
1070
1071 2018-11-26  Daniel Bates  <dabates@apple.com>
1072
1073         Placeholder text is not repainted after caps lock indicator is hidden
1074         https://bugs.webkit.org/show_bug.cgi?id=191968
1075         <rdar://problem/46247234>
1076
1077         Substitute UIHelper.toggleCapsLock() for testRunner.toggleCapsLock() as the former replaces
1078         the latter following r238512.
1079
1080         * fast/repaint/placeholder-after-caps-lock-hidden.html:
1081
1082 2018-11-26  Daniel Bates  <dabates@apple.com>
1083
1084         Placeholder text is not repainted after caps lock indicator is hidden
1085         https://bugs.webkit.org/show_bug.cgi?id=191968
1086         <rdar://problem/46247234>
1087
1088         Reviewed by Zalan Bujtas.
1089
1090         Add a test to ensure to that the placeholder text is repainted when the caps lock indicator is hidden.
1091
1092         * TestExpectations: Skip the test on all platforms as we only support toggling Caps Lock in
1093         WebKit2 on Mac at the moment.
1094         * fast/repaint/placeholder-after-caps-lock-hidden.html: Added.
1095         * platform/mac-wk2/TestExpectations: Mark the test as PASS so that we run it.
1096
1097 2018-11-26  Daniel Bates  <dabates@apple.com>
1098
1099         REGRESSION (r238078): Do not draw caps lock indicator when Strong Password button is shown
1100         https://bugs.webkit.org/show_bug.cgi?id=191969
1101         <rdar://problem/46247569>
1102
1103         Reviewed by Dean Jackson.
1104
1105         Add tests to ensure that we show or hide the caps lock indicator depending on whether the
1106         Strong Password button is visible.
1107
1108         * TestExpectations: Skip the tests below on all platforms. We will selectively enable them on Mac.
1109         * fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-when-after-hiding-auto-fill-strong-password-button-expected.html: Added.
1110         * fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-when-after-hiding-auto-fill-strong-password-button.html: Added.
1111         * fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible-expected.html: Added.
1112         * fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible.html: Added.
1113         * platform/mac-wk2/TestExpectations: Mark the tests above as PASS so that we run them.
1114
1115 2018-11-26  Daniel Bates  <dabates@apple.com>
1116
1117         Move testRunner.toggleCapsLock() to uiController
1118         https://bugs.webkit.org/show_bug.cgi?id=191972
1119
1120         Reviewed by Tim Horton.
1121
1122         Updated existing test to use UIHelper.toggleCapsLock(), which calls uiController.toggleCapsLock(),
1123         now that testRunner.toggleCapsLock() was removed.
1124
1125         * fast/events/detect-caps-lock.html:
1126         * resources/ui-helper.js:
1127         (window.UIHelper.toggleCapsLock): Added. Convenience function to call uiController.toggleCapsLock()
1128         and return a Promise that is resolved once the UIProcess has dispatched the NSEvent to simulate
1129         pressing the caps lock key.
1130
1131 2018-11-26  Zalan Bujtas  <zalan@apple.com>
1132
1133         Unreviewed rebaseline after r238493.
1134
1135         * platform/ios/fast/inline/inline-content-with-float-and-margin-expected.txt: Added.
1136
1137 2018-11-26  Zalan Bujtas  <zalan@apple.com>
1138
1139         Unreviewed test gardening after r238280.
1140
1141         * fast/content-observation/click-event-suppression-on-content-change.html:
1142
1143 2018-11-26  Zalan Bujtas  <zalan@apple.com>
1144
1145         Unreviewed rebaseline after r238460.
1146
1147         * platform/ios/fast/inline/inline-content-with-image-simple-expected.txt: Added.
1148
1149 2018-11-25  Zalan Bujtas  <zalan@apple.com>
1150
1151         [LFC][IFC] Use float box's margin box to adjust the line constraints.
1152         https://bugs.webkit.org/show_bug.cgi?id=191961
1153
1154         Reviewed by Antti Koivisto.
1155
1156         * fast/inline/inline-content-with-float-and-margin-expected.txt: Added.
1157         * fast/inline/inline-content-with-float-and-margin.html: Added.
1158
1159 2018-11-26  Manuel Rego Casasnovas  <rego@igalia.com>
1160
1161         [css-grid] Fix grid container sizing under min-content height
1162         https://bugs.webkit.org/show_bug.cgi?id=191889
1163
1164         Reviewed by Javier Fernandez.
1165
1166         Update tests results to the new behavior.
1167         Also modified a little bit the test to keep them in sync with Blink versions.
1168
1169         * fast/css-grid-layout/grid-track-sizing-with-orthogonal-flows-expected.txt:
1170         * fast/css-grid-layout/grid-track-sizing-with-orthogonal-flows.html:
1171         * fast/css-grid-layout/maximize-tracks-definite-indefinite-height.html:
1172
1173 2018-11-25  Ryan Haddad  <ryanhaddad@apple.com>
1174
1175         Unreviewed test gardening, rebaseline webgpu/queue-creation.html.
1176
1177         * webgpu/queue-creation-expected.txt:
1178
1179 2018-11-25  Tim Horton  <timothy_horton@apple.com>
1180
1181         Make it possible to insert editable images with a gesture
1182         https://bugs.webkit.org/show_bug.cgi?id=191937
1183
1184         Reviewed by Wenson Hsieh.
1185
1186         * editing/images/basic-editable-image-from-execCommand-expected.txt: Added.
1187         * editing/images/basic-editable-image-from-execCommand.html: Added.
1188         Add a test that ensures that editable images also work when
1189         inserted via the editor command.
1190
1191         * editing/images/redo-insert-editable-image-maintains-strokes-expected.txt: Added.
1192         * editing/images/redo-insert-editable-image-maintains-strokes.html: Added.
1193         Add a test that ensures that strokes are maintained when re-doing an
1194         un-done editable image insertion.
1195
1196         * editing/images/undo-insert-editable-image-expected.txt: Added.
1197         * editing/images/undo-insert-editable-image.html: Added.
1198         Add a test that ensures that the selection stays in a sensible place
1199         when undoing and redoing editable image insertion.
1200
1201 2018-11-23  Ryosuke Niwa  <rniwa@webkit.org>
1202
1203         REGRESSION (r236785): Nullptr crash in StyledMarkupAccumulator::traverseNodesForSerialization
1204         https://bugs.webkit.org/show_bug.cgi?id=191921
1205
1206         Reviewed by Dean Jackson.
1207
1208         Added a regression test.
1209
1210         * editing/pasteboard/copy-paste-across-shadow-boundaries-5-expected.txt: Added.
1211         * editing/pasteboard/copy-paste-across-shadow-boundaries-5.html: Added.
1212         * platform/ios/editing/pasteboard/copy-paste-across-shadow-boundaries-5-expected.txt: Added.
1213
1214 2018-11-22  Ryosuke Niwa  <rniwa@webkit.org>
1215
1216         Updating href on textPath doesn't update its rendering
1217         https://bugs.webkit.org/show_bug.cgi?id=191920
1218
1219         Reviewed by Dean Jackson.
1220
1221         Added a ref test.
1222
1223         * svg/text/textpath-reference-update-expected.html: Added.
1224         * svg/text/textpath-reference-update.html: Added.
1225
1226 2018-11-23  Zalan Bujtas  <zalan@apple.com>
1227
1228         [LFC][IFC] Add support for variable height runs.
1229         https://bugs.webkit.org/show_bug.cgi?id=191925
1230
1231         Reviewed by Antti Koivisto.
1232
1233         * fast/inline/inline-content-with-image-simple-expected.txt: Added.
1234         * fast/inline/inline-content-with-image-simple.html: Added.
1235
1236 2018-11-23  Javier Fernandez  <jfernandez@igalia.com>
1237
1238         [css-grid] Implement Baseline Alignment for grid items
1239         https://bugs.webkit.org/show_bug.cgi?id=145566
1240
1241         Reviewed by Manuel Rego Casasnovas.
1242
1243         Most of the baseline realated tests pass now; just a few still fail because of unrelated bugs.
1244
1245         * TestExpectations: Removed several entries, related to the baseline tests that are now passing.
1246         * fast/css-grid-layout/grid-align-baseline-expected.txt:
1247         * fast/css-grid-layout/grid-align-baseline-vertical-expected.txt:
1248         * fast/css-grid-layout/grid-baseline-expected.html:
1249         * fast/css-grid-layout/grid-baseline-margins-expected.html:
1250         * fast/css-grid-layout/grid-baseline-margins.html:
1251         * fast/css-grid-layout/grid-baseline-must-respect-grid-order-expected.txt:
1252         * fast/css-grid-layout/grid-baseline-must-respect-grid-order.html:
1253         * fast/css-grid-layout/grid-baseline.html:
1254         * fast/css-grid-layout/grid-self-baseline-and-flex-tracks-with-indefinite-container-crash-expected.txt: Added.
1255         * fast/css-grid-layout/grid-self-baseline-and-flex-tracks-with-indefinite-container-crash.html: Added.
1256         * fast/css-grid-layout/grid-self-baseline-and-flexible-tracks-should-not-crash-expected.txt: Added.
1257         * fast/css-grid-layout/grid-self-baseline-and-flexible-tracks-should-not-crash.html: Added.
1258         * fast/css-grid-layout/grid-self-baseline-and-item-relayout-should-not-crash-expected.txt: Added.
1259         * fast/css-grid-layout/grid-self-baseline-and-item-relayout-should-not-crash.html: Added.
1260         * fast/css-grid-layout/grid-self-baseline-and-relative-sized-items-crash-expected.txt: Added.
1261         * fast/css-grid-layout/grid-self-baseline-and-relative-sized-items-crash.html: Added.
1262         * fast/css-grid-layout/grid-self-baseline-and-relative-sized-tracks-crash-expected.txt: Added.
1263         * fast/css-grid-layout/grid-self-baseline-and-relative-sized-tracks-crash.html: Added.
1264         * fast/css-grid-layout/grid-self-baseline-followed-by-item-style-change-should-not-crash-expected.txt: Added.
1265         * fast/css-grid-layout/grid-self-baseline-followed-by-item-style-change-should-not-crash.html: Added.
1266         * fast/css-grid-layout/grid-self-baseline-two-dimensional-expected.txt:
1267         * fast/css-grid-layout/grid-self-baseline-two-dimensional.html:
1268
1269 2018-11-22  Dean Jackson  <dino@apple.com>
1270
1271         Implement WebGPUQueue and device.getQueue()
1272         https://bugs.webkit.org/show_bug.cgi?id=191911
1273         <rdar://problem/46214871>
1274
1275         Reviewed by Antoine Quint.
1276
1277         WPT-style test for queue creation.
1278
1279         * webgpu/queue-creation-expected.txt: Added.
1280         * webgpu/queue-creation.html: Added.
1281
1282 2018-11-22  Frederic Wang  <fwang@igalia.com>
1283
1284         Improve fast/scrolling/scrolling-tree-includes-frame.html
1285         https://bugs.webkit.org/show_bug.cgi?id=191912
1286
1287         These are small improvements to scrolling-tree-includes-frame.html:
1288         - Run doTest() after the iframe is loaded and use waitUntilDone/notifyDone for more reliable timing.
1289         - Use iframe@srcdoc instead of iframe@src and put the content of the iframe document in its own line.
1290         - Move the iframe style in a separate <style> tag and ensure the iframe is really positioned at (0,0)
1291         with no extra margin/padding/border.
1292         - Remove unnecessary id="frame"
1293         The test expectation is not changed.
1294
1295         Reviewed by Antonio Gomes.
1296
1297         * fast/scrolling/scrolling-tree-includes-frame.html:
1298
1299 2018-11-22  Zalan Bujtas  <zalan@apple.com>
1300
1301         [LFC][IFC] Offset formatting context root runs with horizontal margins.
1302         https://bugs.webkit.org/show_bug.cgi?id=191900
1303
1304         Reviewed by Antti Koivisto.
1305
1306         * fast/inline/inline-content-and-nested-formatting-root-with-margin-left-right-expected.txt: Added.
1307         * fast/inline/inline-content-and-nested-formatting-root-with-margin-left-right.html: Added.
1308
1309 2018-11-22  Simon Fraser  <simon.fraser@apple.com>
1310
1311         Extremely small monospace text size when SVG is included as an img
1312         https://bugs.webkit.org/show_bug.cgi?id=191834
1313
1314         Reviewed by Myles C. Maxfield.
1315         
1316         The test has an x offset in the text transform to work around a different bug
1317         with text position (webkit.org/b/191871).
1318
1319         * svg/text/monospace-text-size-in-img-expected.html: Added.
1320         * svg/text/monospace-text-size-in-img.html: Added.
1321
1322 2018-11-22  Javier Fernandez  <jfernandez@igalia.com>
1323
1324         Tables with vertical-lr writing-mode doesn't apply correctly vertical-align: baseline
1325         https://bugs.webkit.org/show_bug.cgi?id=191881
1326
1327         Reviewed by Manuel Rego Casasnovas.
1328
1329         Tests to verify that columns of a vertical-lr table vertically aligned by baseline work like
1330         in the case of horizontal tables.
1331         Also added tests to verify flexbox baseline alignment works as expected in vertical-lr mode.
1332
1333         The vertical-align-table-baseline.html test has been rebaselined due to the new behavior.
1334
1335         * fast/writing-mode/vertical-align-table-baseline-latin-expected.html: Added.
1336         * fast/writing-mode/vertical-align-table-baseline-latin.html: Added.
1337         * fast/writing-mode/vertical-align-flex-baseline-expected.html: Added.
1338         * fast/writing-mode/vertical-align-flex-baseline-html: Added.
1339         * platform/gtk/fast/writing-mode/vertical-align-table-baseline-expected.txt: Rebaseline.
1340         * platform/gtk/fast/writing-mode/vertical-align-table-baseline-expected.png: Rebaseline.
1341         * platform/win/fast/writing-mode/vertical-align-table-baseline-expected.txt: Rebaseline.
1342         * platform/win/fast/writing-mode/vertical-align-table-baseline-expected.png: Rebaseline.
1343
1344 2018-11-21  Wenson Hsieh  <wenson_hsieh@apple.com>
1345
1346         [Cocoa] [WebKit2] Add support for replacing find-in-page text matches
1347         https://bugs.webkit.org/show_bug.cgi?id=191786
1348         <rdar://problem/45813871>
1349
1350         Reviewed by Ryosuke Niwa.
1351
1352         Introduce a `LayoutTests/editing/find` directory to contain tests around `FindController`, and add 7 new layout
1353         tests. These are currently enabled only for WebKit2 on macOS and iOS.
1354
1355         * TestExpectations:
1356         * editing/find/find-and-replace-adjacent-words-expected.txt: Added.
1357         * editing/find/find-and-replace-adjacent-words.html: Added.
1358
1359         Test find-and-replace with adjacent words.
1360
1361         * editing/find/find-and-replace-at-editing-boundary-expected.txt: Added.
1362         * editing/find/find-and-replace-at-editing-boundary.html: Added.
1363
1364         Test find-and-replace when one of the find matches straddles an editing boundary. In this case, we verify that
1365         the replacement does not occur, since only part of the word would be replaced.
1366
1367         * editing/find/find-and-replace-basic-expected.txt: Added.
1368         * editing/find/find-and-replace-basic.html: Added.
1369
1370         Add a basic test that exercises a single text replacement, and "replace all".
1371
1372         * editing/find/find-and-replace-in-subframes-expected.txt: Added.
1373         * editing/find/find-and-replace-in-subframes.html: Added.
1374
1375         Test find-and-replace when some of the matches are in editable content in subframes. This test additionally
1376         contains matches in shadow content (in this case, text fields) within both the main document and the subframe,
1377         and verifies that text replacement reaches these elements as well.
1378
1379         * editing/find/find-and-replace-no-matches-expected.txt: Added.
1380         * editing/find/find-and-replace-no-matches.html: Added.
1381
1382         Test find-and-replace when no replacement matches are specified. In this case, we fall back to inserting the
1383         replacement text at the current selection.
1384
1385         * editing/find/find-and-replace-noneditable-matches-expected.txt: Added.
1386         * editing/find/find-and-replace-noneditable-matches.html: Added.
1387
1388         Test find-and-replace when some of the matches to replace are noneditable, others are editable, and others are
1389         editable but are nested within noneditable elements (i.e. `contenteditable=false`). In this case, "replace all"
1390         should still replace all fully editable matches.
1391
1392         * editing/find/find-and-replace-replacement-text-input-events-expected.txt: Added.
1393         * editing/find/find-and-replace-replacement-text-input-events.html: Added.
1394
1395         Tests that find-and-replace emits input events of `inputType` "insertReplacementText", except when inserting
1396         replacement text at a caret selection.
1397
1398         * platform/ios-wk2/TestExpectations:
1399         * platform/mac-wk2/TestExpectations:
1400
1401 2018-11-21  Zalan Bujtas  <zalan@apple.com>
1402
1403         [LFC][IFC] Horizontal margins should be considered as non-breakable space
1404         https://bugs.webkit.org/show_bug.cgi?id=191894
1405
1406         Reviewed by Antti Koivisto.
1407
1408         * fast/inline/inline-content-with-margin-left-right-expected.txt: Added.
1409         * fast/inline/inline-content-with-margin-left-right.html: Added.
1410
1411 2018-11-21  Ryosuke Niwa  <rniwa@webkit.org>
1412
1413         Mutation observers doesn't get notified of character data mutation made by the parser
1414         https://bugs.webkit.org/show_bug.cgi?id=191874
1415
1416         Reviewed by Antti Koivisto.
1417
1418         Added a regression test.
1419
1420         * fast/dom/MutationObserver/observe-parser-character-data-change-expected.txt: Added.
1421         * fast/dom/MutationObserver/observe-parser-character-data-change.html: Added.
1422
1423 2018-11-21  Zalan Bujtas <zalan@apple.com>
1424
1425         [LFC][IFC] Border should be considered as non-breakable space
1426         https://bugs.webkit.org/show_bug.cgi?id=191891
1427
1428         Reviewed by Antti Koivisto.
1429
1430         * fast/inline/inline-content-with-border-left-right-expected.txt: Added.
1431         * fast/inline/inline-content-with-border-left-right.html: Added.
1432
1433 2018-11-21  Alicia Boya García  <aboya@igalia.com>
1434
1435         [GTK] Unreviewed test gardening
1436         https://bugs.webkit.org/show_bug.cgi?id=191887
1437
1438         * platform/gtk/TestExpectations:
1439
1440 2018-11-21  Zalan Bujtas  <zalan@apple.com>
1441
1442         [LFC][IFC] Take nonBreakableStart/End into use.
1443         https://bugs.webkit.org/show_bug.cgi?id=191873
1444
1445         Reviewed by Antti Koivisto.
1446
1447         * fast/inline/inline-content-with-padding-left-right-expected.txt: Added.
1448         * fast/inline/inline-content-with-padding-left-right.html: Added.
1449
1450 2018-11-20  Ryosuke Niwa  <rniwa@webkit.org>
1451
1452         Input element gains focus when a selectstart event listener on document prevents the default action
1453         https://bugs.webkit.org/show_bug.cgi?id=191714
1454         <rdar://problem/46174389>
1455
1456         Reviewed by Antti Koivisto.
1457
1458         Added a regression test.
1459
1460         * fast/events/selectstart-prevent-default-should-not-focus-input-expected.txt: Added.
1461         * fast/events/selectstart-prevent-default-should-not-focus-input.html: Added.
1462         * platform/ios/TestExpectations:
1463
1464 2018-11-19  Ryosuke Niwa  <rniwa@webkit.org>
1465
1466         Click on node assigned to slot in button's shadow cause loss of button focus
1467         https://bugs.webkit.org/show_bug.cgi?id=191694
1468         <rdar://problem/46107920>
1469
1470         Reviewed by Wenson Hsieh.
1471
1472         Added a regression test.
1473
1474         * fast/shadow-dom/focus-slot-parent-expected.txt: Added.
1475         * fast/shadow-dom/focus-slot-parent.html: Added.
1476
1477 2018-11-19  Justin Fan  <justin_fan@apple.com>
1478
1479         [WebGPU] Begin implementing WebGPUTexture, WebGPUTextureView, and WebGPUTextureFormatEnum, and WebGPUSwapChain::configure upgrades
1480         https://bugs.webkit.org/show_bug.cgi?id=191794
1481
1482         Reviewed by Dean Jackson.
1483
1484         Did some refactoring to better share code among tests, and added basic functionality test for 
1485         WebGPUTextures and WebGPUTextureView, to be fleshed out when their descriptor objects are implemented. 
1486
1487         * webgpu/command-buffers.html: Refactored to use basic-webgpu-functions.js.
1488         * webgpu/js/basic-webgpu-functions.js: Added.
1489         (vertex.Vertex.vertex_main): The basic MSL code has been moved into this file.
1490         (fragment.float4.fragment_main):
1491         (runWebGPUTests): Creates a WebGPURenderingContext on a default canvas and runs its provided functions.
1492         (async.runWebGPUTestsOnCanvas): 
1493         (async.setUpContexts): Tests proper creation of a basic WebGPURenderingContext.
1494         (setUpModule): Creates a basic WebGPUShaderModule.
1495         (setUpPipelineDescriptor): Creates a basic WebGPURenderPipelineDescriptor.
1496         (setUpPipeline): Creates a basic WebGPURenderPipeline.
1497         (render):
1498         * webgpu/js/set-up-webgpu-contexts.js: Moved into basic-webgpu-functions.js.
1499         * webgpu/render-pipelines-expected.txt:
1500         * webgpu/render-pipelines.html: Refactored to use basic-webgpu-functions.js.
1501         * webgpu/shader-modules.html: Refactored to use basic-webgpu-functions.js.
1502         * webgpu/textures-textureviews-expected.txt: Added.
1503         * webgpu/textures-textureviews.html: Added.
1504         * webgpu/webgpu-basics.html: Refactored to use basic-webgpu-functions.js.
1505
1506 2018-11-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1507
1508         Dragging image with a border-image larger than the image element crashes
1509         https://bugs.webkit.org/show_bug.cgi?id=191817
1510         <rdar://problem/46159222>
1511
1512         Reviewed by Ryosuke Niwa.
1513
1514         Verifies that an image that meets the pathological criteria described in Source/WebCore/ChangeLog can still be
1515         dragged and dropped into an editable area.
1516
1517         * fast/events/drag-image-with-border-image.html: Added.
1518         * platform/gtk/TestExpectations:
1519         * platform/ios/TestExpectations:
1520         * platform/mac-wk2/TestExpectations:
1521         * platform/wpe/TestExpectations:
1522
1523         Enable this test only in WebKit1.
1524
1525 2018-11-18  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
1526
1527         Unreviewed, rolling in the rest of r237254
1528         https://bugs.webkit.org/show_bug.cgi?id=190340
1529
1530         * fast/dom/attribute-event-listener-errors-expected.txt:
1531         * fast/events/attribute-listener-deletion-crash-expected.txt:
1532         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
1533         * js/dom/invalid-syntax-for-function-expected.txt:
1534         * js/dom/script-start-end-locations-expected.txt:
1535
1536 2018-11-17  Devin Rousso  <drousso@apple.com>
1537
1538         Web Inspector: Network: add button to show system certificate dialog
1539         https://bugs.webkit.org/show_bug.cgi?id=191458
1540         <rdar://problem/45977019>
1541
1542         Reviewed by Joseph Pecoraro.
1543
1544         * http/tests/inspector/network/getSerializedCertificate-expected.txt: Added.
1545         * http/tests/inspector/network/getSerializedCertificate.html: Added.
1546
1547         * platform/gtk/TestExpectations:
1548         * platform/wincairo/TestExpectations:
1549         * platform/wpe/TestExpectations:
1550
1551 2018-11-17  Zalan Bujtas  <zalan@apple.com>
1552
1553         [LFC][IFC] InlineFormattingState::addDetachingRule should accumulate rules.
1554         https://bugs.webkit.org/show_bug.cgi?id=191801
1555
1556         Reviewed by Antti Koivisto.
1557
1558         * fast/inline/simple-inline-with-out-of-flow-descendant2-expected.txt: Added.
1559         * fast/inline/simple-inline-with-out-of-flow-descendant2.html: Added.
1560
1561 2018-11-17  Jonathan Hammer  <jonathan@e3software.com>
1562
1563         Caret stops blinking after context menu shown
1564         https://bugs.webkit.org/show_bug.cgi?id=191715
1565
1566         Reviewed by Ryosuke Niwa.
1567
1568         * fast/events/contextmenu-dismiss-blink-caret-expected.txt: Added.
1569         * fast/events/contextmenu-dismiss-blink-caret.html: Added.
1570
1571 2018-11-16  Antoine Quint  <graouts@apple.com>
1572
1573         [Pointer Events] event.isPrimary doesn't always represent the oldest active touch
1574         https://bugs.webkit.org/show_bug.cgi?id=191752
1575         <rdar://problem/46129270>
1576
1577         Reviewed by Dean Jackson.
1578
1579         Add a new test that checks that adding a touch after another existing touch does not make it be
1580         the primary touch, but that removing the first touch makes the second touch become the primary touch.
1581
1582         To do this we add a new ui.sequence() method that allows a series of touch actions to be performed
1583         in a linear sequence. The test author can create a finger and call various actions on it, currently
1584         begin(), move() and end().
1585
1586         When these actions are processed, we compute all "stationary" actions for each part of the sequence
1587         so that we can provide this to the uiController.sendEventStream() function.
1588
1589         Finally, we add a way to track events received by the target and assert that the events that were
1590         received match those that were expected.
1591
1592         * pointerevents/ios/pointer-events-is-primary-expected.txt: Added.
1593         * pointerevents/ios/pointer-events-is-primary.html: Added.
1594         * pointerevents/utils.js:
1595         (prototype.handleEvent):
1596         (prototype.assertMatchesEvents):
1597         (const.ui.new.UIController):
1598         (const.ui.new.UIController.prototype.finger):
1599         (const.ui.new.UIController.prototype.pinchOut):
1600         (const.ui.new.UIController.prototype.sequence):
1601         (const.ui.new.UIController.prototype._runEvents):
1602         (prototype.begin):
1603         (prototype.move):
1604         (prototype.end):
1605         (prototype.stationary):
1606         (prototype._action):
1607
1608 2018-11-16  Devin Rousso  <drousso@apple.com>
1609
1610         Web Inspector: Audit: minor style improvements
1611         https://bugs.webkit.org/show_bug.cgi?id=191727
1612
1613         Reviewed by Joseph Pecoraro.
1614
1615         * inspector/audit/resources/audit-utilities.js:
1616
1617 2018-11-16  Joseph Pecoraro  <pecoraro@apple.com>
1618
1619         Web Inspector: Keep Web Inspector window alive across process swaps (PSON) (Local Inspector)
1620         https://bugs.webkit.org/show_bug.cgi?id=191740
1621         <rdar://problem/45470897>
1622
1623         Reviewed by Timothy Hatcher.
1624
1625         * inspector/unit-tests/target-manager-expected.txt:
1626         * inspector/unit-tests/target-manager.html:
1627         Update test to pass in both a MultiplexingBackendTarget and DirectBackendTarget world.
1628
1629 2018-11-16  Jeremy Jones  <jeremyj@apple.com>
1630
1631         Include AirPlay destination name in AirPlay placard.
1632         https://bugs.webkit.org/show_bug.cgi?id=191574
1633         rdar://problem/45536144
1634
1635         Reviewed by Eric Carlson.
1636
1637         Updated tests for string changes.
1638
1639         * media/modern-media-controls/airplay-placard/airplay-placard-expected.txt:
1640         * media/modern-media-controls/airplay-placard/airplay-placard.html:
1641
1642 2018-11-16  Ryan Haddad  <ryanhaddad@apple.com>
1643
1644         REGRESSION (r232376): Layout Test inspector/console/webcore-logging.html is a flaky failure
1645         https://bugs.webkit.org/show_bug.cgi?id=186425
1646
1647         Unreviewed test gardening.
1648
1649         * platform/mac-wk2/TestExpectations: Remove flaky expectation.
1650
1651 2018-11-16  Sihui Liu  <sihui_liu@apple.com>
1652
1653         Storing blobs in IDB on iOS: "Error preparing blob/file"
1654         https://bugs.webkit.org/show_bug.cgi?id=188438
1655         <rdar://problem/43097279>
1656
1657         Reviewed by Alex Christensen.
1658
1659         Three IDB blob tests are passing on iOS device now.
1660
1661         * platform/ios-device/TestExpectations:
1662
1663 2018-11-16  Zalan Bujtas  <zalan@apple.com>
1664
1665         [iOS] 2 subsequent taps are required to trigger certain tasks on the desktop version of YouTube.com
1666         https://bugs.webkit.org/show_bug.cgi?id=191712
1667         <rdar://problem/45612900>
1668
1669         Reviewed by Simon Fraser.
1670
1671         * fast/events/touch/ios/click-instead-of-hover-simple-expected.txt: Added.
1672         * fast/events/touch/ios/click-instead-of-hover-simple.html: Added.
1673
1674 2018-11-16  Zalan Bujtas  <zalan@apple.com>
1675
1676         [LFC][IFC] Add support for out-of-flow positioned boxes
1677         https://bugs.webkit.org/show_bug.cgi?id=191726
1678
1679         Reviewed by Antti Koivisto.
1680
1681         * fast/inline/simple-inline-with-out-of-flow-descendant-expected.txt: Added.
1682         * fast/inline/simple-inline-with-out-of-flow-descendant.html: Added.
1683         * platform/ios/TestExpectations:
1684
1685 2018-11-16  Thibault Saunier  <tsaunier@igalia.com>
1686
1687         [GStreamer][MediaStream] Handle track addition and removal
1688         https://bugs.webkit.org/show_bug.cgi?id=191599
1689
1690         Reviewed by Xabier Rodriguez-Calvar.
1691
1692         * fast/mediastream/MediaStream-video-element-remove-track-expected.txt: Added.
1693         * fast/mediastream/MediaStream-video-element-remove-track.html: Added.
1694
1695 2018-11-16  Antoine Quint  <graouts@apple.com>
1696
1697         PointerEvents should not require touch event listeners to be registered
1698         https://bugs.webkit.org/show_bug.cgi?id=191333
1699         <rdar://problem/45857523>
1700
1701         Reviewed by Dean Jackson.
1702
1703         Add two iOS tests that check that we dispatch pointer events when only those events are registered
1704         and that we correctly account for calls to preventDefault(). To support pointer events test, we add
1705         a new utility where we will be adding user interaction functions that should allow these tests to be
1706         submitted to the WPT repository provided browsers implement their own versions of the UIController.
1707
1708         * TestExpectations:
1709         * pointerevents/ios/pointer-events-dispatch-on-touch-expected.txt: Added.
1710         * pointerevents/ios/pointer-events-dispatch-on-touch.html: Added.
1711         * pointerevents/ios/pointer-events-prevent-default-expected.txt: Added.
1712         * pointerevents/ios/pointer-events-prevent-default.html: Added.
1713         * pointerevents/utils.js: Added.
1714
1715 2018-11-15  Zalan Bujtas  <zalan@apple.com>
1716
1717         [iOS] Do not get stuck in indeterminate content observation state.
1718         https://bugs.webkit.org/show_bug.cgi?id=191719
1719
1720         Reviewed by Simon Fraser.
1721
1722         * fast/events/touch/ios/stuck-with-hover-state-expected.txt: Added.
1723         * fast/events/touch/ios/stuck-with-hover-state.html: Added.
1724
1725 2018-11-15  Simon Fraser  <simon.fraser@apple.com>
1726
1727         Add layout test for iframe contents disappearing on view unparent/reparent
1728         https://bugs.webkit.org/show_bug.cgi?id=191725
1729
1730         Reviewed by Alex Christensen.
1731         
1732         This test tests the changes made in r238229.
1733
1734         * compositing/iframes/remove-reinsert-webview-with-iframe-expected.txt: Added.
1735         * compositing/iframes/remove-reinsert-webview-with-iframe.html: Added.
1736         * platform/ios/compositing/iframes/remove-reinsert-webview-with-iframe-expected.txt: Added.
1737         * platform/mac-wk1/compositing/iframes/remove-reinsert-webview-with-iframe-expected.txt: Added.
1738
1739 2018-11-15  Simon Fraser  <simon.fraser@apple.com>
1740
1741         REGRESSION (r238090) Composited iframes that resize from zero don't show
1742         https://bugs.webkit.org/show_bug.cgi?id=191733
1743         rdar://problem/46107764
1744
1745         Reviewed by Zalan Bujtas.
1746
1747         * compositing/iframes/resize-from-zero-size-expected.txt: Added.
1748         * compositing/iframes/resize-from-zero-size.html: Added.
1749
1750 2018-11-15  Simon Fraser  <simon.fraser@apple.com>
1751
1752         Overlay with -webkit-overflow-scrolling:touch doesn't become scrollable after added text makes it taller
1753         https://bugs.webkit.org/show_bug.cgi?id=158342
1754         rdar://problem/26652811
1755
1756         Reviewed by Zalan Bujtas.
1757
1758         Patch partly by Frédéric Wang.
1759
1760         Add a test to check that scrollability of composited/non-composited overflow divs is properly
1761         updated. This test used to fail and assert before #238090. A second test with nested divs
1762         stills exhibit the issue and is fixed by the present commit.
1763
1764         * fast/scrolling/ios/change-scrollability-on-content-resize-expected.txt: Added.
1765         * fast/scrolling/ios/change-scrollability-on-content-resize-nested-expected.txt: Added.
1766         * fast/scrolling/ios/change-scrollability-on-content-resize-nested.html: Added.
1767         * fast/scrolling/ios/change-scrollability-on-content-resize.html: Added.
1768
1769 2018-11-15  Truitt Savell  <tsavell@apple.com>
1770
1771         Unreviewed, rolling out r238244.
1772
1773         Caused High Sierra test runs to fail early with 50 crashes and
1774         casued 25 API failures.
1775
1776         Reverted changeset:
1777
1778         "[css-logical] Implement flow-relative margin, padding and
1779         border shorthands"
1780         https://bugs.webkit.org/show_bug.cgi?id=188697
1781         https://trac.webkit.org/changeset/238244
1782
1783 2018-11-15  Ryan Haddad  <ryanhaddad@apple.com>
1784
1785         imported/w3c/web-platform-tests/encoding tests take > 30 minutes to run on debug bots
1786         https://bugs.webkit.org/show_bug.cgi?id=191720
1787
1788         Unreviewed test gardening.
1789
1790         * TestExpectations: Skip the directory on debug.
1791
1792 2018-11-15  Chris Dumez  <cdumez@apple.com>
1793
1794         REGRESSION (r238038): [iOS] Layout test fast/forms/ios/validation-bubble-dismiss-on-tap.html is a flaky failure
1795         https://bugs.webkit.org/show_bug.cgi?id=191710
1796         <rdar://problem/46104093>
1797
1798         Reviewed by Simon Fraser.
1799
1800         There is a small amount of time after we ask to show the popover before the popover is actually shown on screen.
1801         During this period, clicks are eaten and not reported to the view. For this reason, we keep tapping until the
1802         popup is dismissed.
1803
1804         * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt:
1805         * fast/forms/ios/validation-bubble-dismiss-on-tap.html:
1806
1807 2018-11-15  Jiewen Tan  <jiewen_tan@apple.com>
1808
1809         [WebAuthN] Use a real nonce for CTAPHID_INIT
1810         https://bugs.webkit.org/show_bug.cgi?id=191533
1811         <rdar://problem/46103502>
1812
1813         Reviewed by Brent Fulgham.
1814
1815         * http/wpt/webauthn/ctap-hid-failure.https-expected.txt:
1816         * http/wpt/webauthn/ctap-hid-failure.https.html:
1817         * http/wpt/webauthn/ctap-hid-success.https-expected.txt:
1818         * http/wpt/webauthn/ctap-hid-success.https.html:
1819
1820 2018-11-15  Justin Fan  <justin_fan@apple.com>
1821
1822         [WebGPU] WebGPUCommandBuffer prototype
1823         https://bugs.webkit.org/show_bug.cgi?id=191663
1824
1825         Reviewed by Dean Jackson.
1826
1827         Begin implementation of WebGPUCommandBuffers as well as GPUQueues (MTLCommandBuffer, MTLCommandQueue).
1828
1829         New testing for WebGPUCommandBuffers, to be fleshed out when WebGPUCommandBufferDescriptors
1830         are added to the specification.
1831
1832         * webgpu/command-buffers-expected.txt: Added.
1833         * webgpu/command-buffers.html: Basic functionality, with more stress tests to be added when the spec is updated.
1834         * webgpu/webgpu-basics.html: Updated to create the command buffer used by later rendering operations.
1835
1836 2018-11-15  Oriol Brufau  <obrufau@igalia.com>
1837
1838         [css-logical] Implement flow-relative margin, padding and border shorthands
1839         https://bugs.webkit.org/show_bug.cgi?id=188697
1840
1841         Reviewed by Simon Fraser and Antti Koivisto.
1842
1843         Add tests checking that CSS properties disabled behind runtime flags
1844         are not exposed.
1845
1846         * platform/ios/webexposed/css-properties-as-js-properties-expected.txt: Added.
1847         * platform/ios/webexposed/css-property-listing-expected.txt: Added.
1848         * platform/mac/webexposed/css-properties-as-js-properties-expected.txt: Added.
1849         * platform/mac/webexposed/css-property-listing-expected.txt: Added.
1850         * platform/win/webexposed/css-properties-as-js-properties-expected.txt: Added.
1851         * platform/win/webexposed/css-property-listing-expected.txt: Added.
1852         * webexposed/css-properties-as-js-properties-expected.txt: Added.
1853         * webexposed/css-properties-as-js-properties.html: Added.
1854         * webexposed/css-properties-behind-flags-expected.txt: Added.
1855         * webexposed/css-properties-behind-flags.html: Added.
1856         * webexposed/css-property-listing-expected.txt: Added.
1857         * webexposed/css-property-listing.html: Added.
1858
1859 2018-11-15  Jiewen Tan  <jiewen_tan@apple.com>
1860
1861         Unreviewed, test gardening.
1862
1863         * platform/mac-wk2/TestExpectations:
1864
1865 2018-11-15  Jiewen Tan  <jiewen_tan@apple.com>
1866
1867         [WebAuthN] UserHandle can be null
1868         https://bugs.webkit.org/show_bug.cgi?id=191521
1869
1870         Reviewed by Alex Christensen.
1871
1872         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
1873
1874 2018-11-15  Daniel Bates  <dabates@apple.com>
1875
1876         [iOS] Shift + Tab does not focus previous field
1877         https://bugs.webkit.org/show_bug.cgi?id=191596
1878         <rdar://problem/45892053>
1879
1880         Reviewed by Wenson Hsieh.
1881
1882         Add tests to ensure that we do not regress the tab and shift + tab key commands.
1883
1884         * fast/events/ios/focus-tab-next-field-expected.txt: Added.
1885         * fast/events/ios/focus-tab-next-field.html: Added.
1886         * fast/events/ios/focus-tab-previous-field-expected.txt: Added.
1887         * fast/events/ios/focus-tab-previous-field.html: Added.
1888         * platform/ios-wk1/TestExpectations: Skip test focus-tab-previous-field.html in Legacy WebKit as
1889         we do not support testing key commands with modifier keys.
1890         * resources/ui-helper.js:
1891         (window.UIHelper.keyDown): Updated to support taking an optional array of modifiers (defaults: [])
1892         and use the new infrastructure to generate a key down event for the specified character.
1893
1894 2018-11-15  Youenn Fablet  <youenn@apple.com>
1895
1896         Update RTCPeerConnection JS built-ins to be closer to specWe
1897         https://bugs.webkit.org/show_bug.cgi?id=191665
1898
1899         Reviewed by Eric Carlson.
1900
1901         * TestExpectations:
1902
1903 2018-11-15  Miguel Gomez  <magomez@igalia.com>
1904
1905         Unreviewed GTK+ gardening after r238220.
1906
1907         * platform/gtk/TestExpectations:
1908
1909 2018-11-14  Zalan Bujtas  <zalan@apple.com>
1910
1911         [LFC][IFC] Add support for in-flow positioned inline boxes.
1912         https://bugs.webkit.org/show_bug.cgi?id=191672
1913
1914         Reviewed by Antti Koivisto.
1915
1916         * fast/inline/simple-inline-inflow-positioned-expected.txt: Added.
1917         * fast/inline/simple-inline-inflow-positioned.html: Added.
1918         * platform/ios/TestExpectations:
1919
1920 2018-11-15  Antti Koivisto  <antti@apple.com>
1921
1922         REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
1923         https://bugs.webkit.org/show_bug.cgi?id=191642
1924
1925         Reviewed by Zalan Bujtas.
1926
1927         * TestExpectations: Unskip
1928         * platform/mac-wk2/TestExpectations: Unskip
1929         * platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt:
1930
1931         Rebase. Focus timings depends on layout timings.
1932
1933 2018-11-15  Antti Koivisto  <antti@apple.com>
1934
1935         Remove fonts from CSSFontFaceSet safely
1936         https://bugs.webkit.org/show_bug.cgi?id=191676
1937
1938         Reviewed by Zalan Bujtas.
1939
1940         * fast/text/font-face-set-remove-safely-expected.txt: Added.
1941         * fast/text/font-face-set-remove-safely.html: Added.
1942
1943 2018-11-14  Timothy Hatcher  <timothy@apple.com>
1944
1945         Default the view background color and text color to different values when in dark mode.
1946         https://bugs.webkit.org/show_bug.cgi?id=191607
1947         rdar://problem/46045854
1948
1949         Reviewed by Dean Jackson.
1950
1951         * css-dark-mode/default-colors-expected.txt: Added.
1952         * css-dark-mode/default-colors.html: Added.
1953         * inspector/css/shadow-scoped-style-expected.txt: Rebaseline.
1954         * platform/mac/printing/width-overflow-expected.txt: Rebaseline.
1955
1956 2018-11-14  Ryan Haddad  <ryanhaddad@apple.com>
1957
1958         Layout test fast/layers/no-clipping-overflow-hidden-added-after-transform.html is a flaky failure on EWS bots
1959         https://bugs.webkit.org/show_bug.cgi?id=191658
1960
1961         Unreviewed test gardening.
1962
1963         * platform/mac-wk2/TestExpectations: Mark this test as flaky on Sierra Release WK2 to reduce the number of retries on mac-wk2-ews.
1964
1965 2018-11-14  Timothy Hatcher  <timothy@apple.com>
1966
1967         Update prefers-color-scheme media query matching based on GitHub issue #3278.
1968         https://bugs.webkit.org/show_bug.cgi?id=191654
1969         rdar://problem/46074307
1970
1971         Reviewed by Simon Fraser.
1972
1973         * css-dark-mode/prefers-color-scheme-expected.txt: Rebaseline.
1974         * css-dark-mode/prefers-color-scheme.html: Updates to better match the spec.
1975
1976 2018-11-14  Devin Rousso  <drousso@apple.com>
1977
1978         Web Inspector: Canvas: send a call stack with each action instead of an array of call frames
1979         https://bugs.webkit.org/show_bug.cgi?id=191628
1980
1981         Reviewed by Dean Jackson.
1982
1983         * inspector/model/recording.html:
1984
1985 2018-11-14  Ryan Haddad  <ryanhaddad@apple.com>
1986
1987         Unreviewed test gardening, move a skip expectation to a more specific file.
1988
1989         * TestExpectations:
1990         * platform/mac-wk2/TestExpectations:
1991
1992 2018-11-14  Joseph Pecoraro  <pecoraro@apple.com>
1993
1994         Web Inspector: Keep Web Inspector window alive across process swaps (PSON) (Remote Inspector)
1995         https://bugs.webkit.org/show_bug.cgi?id=191494
1996         <rdar://problem/45469854>
1997
1998         Reviewed by Devin Rousso.
1999
2000         * inspector/unit-tests/target-manager.html:
2001         WI.targets has switched to being an array instead of a set.
2002
2003 2018-11-14  Truitt Savell  <tsavell@apple.com>
2004
2005         [ Sierra Release WK2 ] Layout Test fast/workers/worker-cloneport.html is flaky.
2006         https://bugs.webkit.org/show_bug.cgi?id=191644.
2007
2008         Unreviewed test Gardening.
2009
2010         * platform/mac-wk2/TestExpectations:
2011
2012 2018-11-14  Antti Koivisto  <antti@apple.com>
2013
2014         REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
2015         https://bugs.webkit.org/show_bug.cgi?id=191642
2016
2017         * TestExpectations: Additionally skip accessibility/mac/selection-notification-focus-change.html
2018
2019 2018-11-14  Antti Koivisto  <antti@apple.com>
2020
2021         REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
2022         https://bugs.webkit.org/show_bug.cgi?id=191642
2023
2024         * TestExpectations: Skipping for now.
2025
2026 2018-11-14  Per Arne Vollan  <pvollan@apple.com>
2027
2028         REGRESSION (WEBPROCESS_WINDOWSERVER_BLOCKING): requestAnimationFrame Stops Completing
2029         https://bugs.webkit.org/show_bug.cgi?id=190884
2030
2031         Reviewed by Dean Jackson.
2032
2033         * TestExpectations:
2034         * fast/animation/request-animation-frame-in-two-pages-expected.txt: Added.
2035         * fast/animation/request-animation-frame-in-two-pages.html: Added.
2036         * platform/mac-wk2/TestExpectations:
2037
2038 2018-11-14  Youenn Fablet  <youenn@apple.com>
2039
2040         Calling removeTrack on different RTCPeerConnection should throw InvalidAccessError
2041         https://bugs.webkit.org/show_bug.cgi?id=191603
2042
2043         Reviewed by Chris Dumez.
2044
2045         Removed obsolete test.
2046
2047         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
2048         * fast/mediastream/RTCPeerConnection-add-removeTrack.html:
2049
2050 2018-11-14  Youenn Fablet  <youenn@apple.com>
2051
2052         Add support for transport and peerConnection stats
2053         https://bugs.webkit.org/show_bug.cgi?id=191592
2054
2055         Reviewed by Alex Christensen.
2056
2057         * webrtc/video-stats.html:
2058
2059 2018-11-14  Ali Juma  <ajuma@chromium.org>
2060
2061         Transform of composited layer not updated when layer also needs repaint
2062         https://bugs.webkit.org/show_bug.cgi?id=191598
2063
2064         Reviewed by Simon Fraser.
2065
2066         * compositing/geometry/transform-and-repaint-updates-geometry-expected.html: Added.
2067         * compositing/geometry/transform-and-repaint-updates-geometry.html: Added.
2068
2069 2018-11-13  Jiewen Tan  <jiewen_tan@apple.com>
2070
2071         [WebAuthN] Support CTAP HID authenticators on macOS
2072         https://bugs.webkit.org/show_bug.cgi?id=188623
2073         <rdar://problem/43353777>
2074
2075         Reviewed by Brent Fulgham and Chris Dumez.
2076
2077         * http/wpt/webauthn/ctap-hid-failure.https-expected.txt: Added.
2078         * http/wpt/webauthn/ctap-hid-failure.https.html: Added.
2079         * http/wpt/webauthn/ctap-hid-success.https-expected.txt: Added.
2080         * http/wpt/webauthn/ctap-hid-success.https.html: Added.
2081         * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https-expected.txt: Added.
2082         * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https.html: Added.
2083         * http/wpt/webauthn/public-key-credential-create-failure-hid.https-expected.txt: Added.
2084         * http/wpt/webauthn/public-key-credential-create-failure-hid.https.html: Added.
2085         * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt: Added.
2086         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: Added.
2087         * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https-expected.txt: Added.
2088         * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https.html: Added.
2089         * http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt: Added.
2090         * http/wpt/webauthn/public-key-credential-get-failure-hid.https.html: Added.
2091         * http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt: Added.
2092         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: Added.
2093         * http/wpt/webauthn/resources/util.js:
2094         * platform/ios-wk2/TestExpectations:
2095
2096 2018-11-13  Timothy Hatcher  <timothy@apple.com>
2097
2098         Use a light scrollbar for transparent web views in dark mode.
2099         https://bugs.webkit.org/show_bug.cgi?id=191559
2100         rdar://problem/46000489
2101
2102         Reviewed by Dean Jackson.
2103
2104         * css-dark-mode/supported-color-schemes-scrollbar-expected.txt: Added.
2105         * css-dark-mode/supported-color-schemes-scrollbar.html: Added.
2106
2107 2018-11-13  Ross Kirsling  <ross.kirsling@sony.com>
2108
2109         [WinCairo] Unreviewed layout test gardening.
2110
2111         * platform/wincairo/TestExpectations:
2112
2113 2018-11-13  Wenson Hsieh  <wenson_hsieh@apple.com>
2114
2115         [iOS] Do not show selection UI for editable elements with opacity near zero
2116         https://bugs.webkit.org/show_bug.cgi?id=191442
2117         <rdar://problem/45958625>
2118
2119         Reviewed by Simon Fraser.
2120
2121         Add 5 new layout tests. See below for more details.
2122
2123         * editing/selection/character-granularity-rect.html:
2124
2125         Adjust for a renamed UIScriptController function.
2126
2127         * editing/selection/ios/do-not-zoom-to-focused-hidden-contenteditable-expected.txt: Added.
2128         * editing/selection/ios/do-not-zoom-to-focused-hidden-contenteditable.html: Added.
2129
2130         Add a test to verify that we don't zoom to fit the focused element, if the focused element is completely
2131         transparent.
2132
2133         * editing/selection/ios/hide-selection-after-hiding-contenteditable-expected.txt: Added.
2134         * editing/selection/ios/hide-selection-after-hiding-contenteditable.html: Added.
2135
2136         Add a test to verify that selection UI is hidden after making an editable root transparent, and shown again when
2137         the editable root becomes opaque.
2138
2139         * editing/selection/ios/hide-selection-in-contenteditable-nested-transparency-expected.txt: Added.
2140         * editing/selection/ios/hide-selection-in-contenteditable-nested-transparency.html: Added.
2141
2142         Add a test to verify that transparency applied on an editable root via nested transparent containers causes
2143         selection UI to be suppressed.
2144
2145         * editing/selection/ios/hide-selection-in-hidden-contenteditable-expected.txt: Added.
2146         * editing/selection/ios/hide-selection-in-hidden-contenteditable-frame-expected.txt: Added.
2147         * editing/selection/ios/hide-selection-in-hidden-contenteditable-frame.html: Added.
2148
2149         Add a test to verify that selection UI is suppressed when an editable element inside a subframe is focused. This
2150         test checks that the caret, selection rects and selection handle views are not shown, and additionally verifies
2151         that the selection in a hidden contenteditable area cannot be changed via tap gesture.
2152
2153         * editing/selection/ios/hide-selection-in-hidden-contenteditable.html: Added.
2154
2155         Same test as above, but in a regular editable element in the main document instead of a subframe.
2156
2157         * resources/ui-helper.js:
2158         (window.UIHelper.getUISelectionRects.return.new.Promise.):
2159         (window.UIHelper.getUISelectionRects.return.new.Promise):
2160         (window.UIHelper.getUISelectionRects):
2161         (window.UIHelper.getUICaretViewRect.return.new.Promise.):
2162         (window.UIHelper.getUICaretViewRect.return.new.Promise):
2163         (window.UIHelper.getUICaretViewRect):
2164
2165         Add new UIHelper wrapper methods. See Tools/ChangeLog for more detail.
2166
2167 2018-11-13  Matt Baker  <mattbaker@apple.com>
2168
2169         Web Inspector: Table should support select all (Cmd-A)
2170         https://bugs.webkit.org/show_bug.cgi?id=190299
2171         <rdar://problem/45029170>
2172
2173         Reviewed by Devin Rousso.
2174
2175         * inspector/table/table-selection-expected.txt:
2176         * inspector/table/table-selection.html:
2177         Add tests that `selectAll` works when multiple selection is enabled,
2178         and does nothing when multiple selection is disabled.
2179
2180 2018-11-13  Timothy Hatcher  <timothy@apple.com>
2181
2182         Treat supported-color-schemes as the second highest priority property.
2183         https://bugs.webkit.org/show_bug.cgi?id=191556
2184         rdar://problem/46000076
2185
2186         Reviewed by Dean Jackson.
2187
2188         * css-dark-mode/supported-color-schemes-priority-expected.txt: Added.
2189         * css-dark-mode/supported-color-schemes-priority.html: Added.
2190
2191 2018-11-13  Youenn Fablet  <youenn@apple.com>
2192
2193         Refresh WPT webrtc tests to ToT
2194         https://bugs.webkit.org/show_bug.cgi?id=191564
2195
2196         Reviewed by Eric Carlson.
2197
2198         Refresh webrtc tests
2199
2200         * tests-options.json:
2201
2202 2018-11-12  Antoine Quint  <graouts@apple.com>
2203
2204         [Web Animations] Don't schedule animation frames or update style while an accelerated animation is running
2205         https://bugs.webkit.org/show_bug.cgi?id=191542
2206         <rdar://problem/45356027>
2207
2208         Reviewed by Simon Fraser.
2209
2210         Add a test that checks that we make only minimal style updates and still dispatch events while an accelerated animation is running.
2211
2212         * animations/no-style-recalc-during-accelerated-animation-expected.txt: Added.
2213         * animations/no-style-recalc-during-accelerated-animation.html: Added.
2214         * fast/layers/no-clipping-overflow-hidden-added-after-transform-expected.html:
2215         * fast/layers/no-clipping-overflow-hidden-added-after-transform.html: Change the colors to avoid a tiny ImageOnlyFailure.
2216         * platform/win/TestExpectations: Mark some regressions tracked by webkit.org/b/191584.
2217
2218 2018-11-12  Darshan Kadu  <darsh7807@gmail.com>
2219
2220         Implement Cache API support for WPE/GTK
2221         https://bugs.webkit.org/show_bug.cgi?id=178316
2222
2223         Reviewed by Michael Catanzaro.
2224
2225         Removed the http/wpt/cache-storage/cache-quota.any.html from the TestExpectations which 
2226         were marked faliure.
2227
2228         * platform/gtk/TestExpectations:
2229         * platform/wpe/TestExpectations:
2230
2231 2018-11-12  Devin Rousso  <drousso@apple.com>
2232
2233         Web Inspector: Network: show secure certificate details per-request
2234         https://bugs.webkit.org/show_bug.cgi?id=191447
2235         <rdar://problem/30019476>
2236
2237         Reviewed by Joseph Pecoraro.
2238
2239         * http/tests/inspector/network/resource-response-security-expected.txt: Added.
2240         * http/tests/inspector/network/resource-response-security.html: Added.
2241
2242         * platform/gtk/TestExpectations:
2243         * platform/wincairo/TestExpectations:
2244         * platform/wpe/TestExpectations:
2245
2246 2018-11-12  Matt Baker  <mattbaker@apple.com>
2247
2248         Web Inspector: Table should support shift-extending the row selection
2249         https://bugs.webkit.org/show_bug.cgi?id=189718
2250         <rdar://problem/44577942>
2251
2252         Reviewed by Devin Rousso.
2253
2254         * inspector/unit-tests/index-set-expected.txt:
2255         * inspector/unit-tests/index-set.html:
2256         Add tests for new IndexSet methods `addRange`, `deleteRange`, `equals`, and `difference`.
2257
2258 2018-11-12  Zalan Bujtas  <zalan@apple.com>
2259
2260         Do not collapse the soon-to-be-parent anon block when we shuffle around the marker item renderer.
2261         https://bugs.webkit.org/show_bug.cgi?id=191554
2262         <rdar://problem/45825265>
2263
2264         Reviewed by Antti Koivisto.
2265
2266         * fast/inline/marker-list-item-move-should-not-crash-expected.txt: Added.
2267         * fast/inline/marker-list-item-move-should-not-crash.html: Added.
2268
2269 2018-11-12  Sihui Liu  <sihui_liu@apple.com>
2270
2271         imported/w3c/web-platform-tests/IndexedDB/keygenerator-explicit.html crashing on iOS device
2272         https://bugs.webkit.org/show_bug.cgi?id=191500
2273
2274         Reviewed by Dean Jackson.
2275
2276         The test should not crash now.
2277
2278         * platform/ios-device/TestExpectations:
2279
2280 2018-11-12  Tim Horton  <timothy_horton@apple.com>
2281
2282         Make it possible to edit images inline
2283         https://bugs.webkit.org/show_bug.cgi?id=191352
2284         <rdar://problem/30107985>
2285
2286         Reviewed by Dean Jackson.
2287
2288         * TestExpectations:
2289         * editing/images/basic-editable-image-expected.txt: Added.
2290         * editing/images/basic-editable-image.html: Added.
2291         * editing/images/reparent-editable-image-maintains-strokes-expected.txt: Added.
2292         * editing/images/reparent-editable-image-maintains-strokes.html: Added.
2293         * platform/ios-wk2/TestExpectations:
2294         * resources/ui-helper.js:
2295         (window.UIHelper.drawSquareInEditableImage):
2296         (window.UIHelper.numberOfStrokesInEditableImage):
2297         (window.UIHelper):
2298         Add tests that we can find and draw in editable images, and that if
2299         the element is moved around in the DOM, it persists its strokes.
2300
2301 2018-11-12  Javier Fernandez  <jfernandez@igalia.com>
2302
2303         [css-grid] Import additional grid layout tests and update TestExpectations
2304         https://bugs.webkit.org/show_bug.cgi?id=191515
2305
2306         Reviewed by Dean Jackson.
2307
2308         Imported several tests from Blink and update TextExpectaions.
2309
2310         * TestExpectations: Adding specific bugs for the expected failures.
2311         * fast/css-grid-layout/changing-content-property-on-nested-grid-should-not-crash-expected.txt: Added.
2312         * fast/css-grid-layout/changing-content-property-on-nested-grid-should-not-crash.html: Added.
2313         * fast/css-grid-layout/column-property-should-not-apply-on-grid-container-expected.html: Added.
2314         * fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html: Added.
2315         * fast/css-grid-layout/crash-large-positions-expected.txt: Added.
2316         * fast/css-grid-layout/crash-large-positions.html: Added.
2317         * fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid-expected.txt: Added.
2318         * fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid.html: Added.
2319         * fast/css-grid-layout/floating-not-effect-on-grid-items-expected.txt: Added.
2320         * fast/css-grid-layout/floating-not-effect-on-grid-items.html: Added.
2321         * fast/css-grid-layout/grid-align-baseline-expected.txt: Added.
2322         * fast/css-grid-layout/grid-align-baseline-vertical-expected.txt: Added.
2323         * fast/css-grid-layout/grid-align-baseline-vertical.html: Added.
2324         * fast/css-grid-layout/grid-align-baseline.html: Added.
2325         * fast/css-grid-layout/grid-auto-repeat-inherit-initial-crash-expected.txt: Added.
2326         * fast/css-grid-layout/grid-auto-repeat-inherit-initial-crash.html: Added.
2327         * fast/css-grid-layout/grid-auto-repeat-positioned-container-expected.html: Added.
2328         * fast/css-grid-layout/grid-auto-repeat-positioned-container.html: Added.
2329         * fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio-expected.txt: Added.
2330         * fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio.html: Added.
2331         * fast/css-grid-layout/grid-container-percentage-columns-expected.txt:
2332         * fast/css-grid-layout/grid-container-percentage-columns.html:
2333         * fast/css-grid-layout/grid-container-percentage-rows-expected.txt: Added.
2334         * fast/css-grid-layout/grid-container-percentage-rows.html: Added.
2335         * fast/css-grid-layout/grid-container-scroll-accounts-for-auto-margin-expected.html: Added.
2336         * fast/css-grid-layout/grid-container-scroll-accounts-for-auto-margin.html: Added.
2337         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing-expected.html:
2338         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing.html:
2339         * fast/css-grid-layout/grid-container-width-should-include-scroll-bar-width-expected.txt: Added.
2340         * fast/css-grid-layout/grid-container-width-should-include-scroll-bar-width.html: Added.
2341         * fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content-expected.txt: Added.
2342         * fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content.html: Added.
2343         * fast/css-grid-layout/grid-crash-out-of-flow-positioned-element-expected.txt: Added.
2344         * fast/css-grid-layout/grid-crash-out-of-flow-positioned-element.html: Added.
2345         * fast/css-grid-layout/grid-crash-remove-positioned-item-expected.txt:
2346         * fast/css-grid-layout/grid-crash-remove-positioned-item.html:
2347         * fast/css-grid-layout/grid-item-before-anonymous-child-crash-expected.txt: Added.
2348         * fast/css-grid-layout/grid-item-before-anonymous-child-crash.html: Added.
2349         * fast/css-grid-layout/grid-item-border-overflow-paint-expected.html: Added.
2350         * fast/css-grid-layout/grid-item-border-overflow-paint.html: Added.
2351         * fast/css-grid-layout/grid-item-change-alignment-from-stretch-expected.txt: Added.
2352         * fast/css-grid-layout/grid-item-change-alignment-from-stretch.html: Added.
2353         * fast/css-grid-layout/grid-item-grid-container-percentage-rows-expected.html: Added.
2354         * fast/css-grid-layout/grid-item-grid-container-percentage-rows.html: Added.
2355         * fast/css-grid-layout/grid-item-overflow-expected.html: Added.
2356         * fast/css-grid-layout/grid-item-overflow-paint-expected.html: Added.
2357         * fast/css-grid-layout/grid-item-overflow-paint.html: Added.
2358         * fast/css-grid-layout/grid-item-overflow.html: Added.
2359         * fast/css-grid-layout/grid-item-paddings-and-writing-modes-expected.html: Added.
2360         * fast/css-grid-layout/grid-item-paddings-and-writing-modes.html: Added.
2361         * fast/css-grid-layout/grid-item-scroll-position-expected.txt: Added.
2362         * fast/css-grid-layout/grid-item-scroll-position.html: Added.
2363         * fast/css-grid-layout/grid-margins-not-collapse-expected.html: Added.
2364         * fast/css-grid-layout/grid-margins-not-collapse.html: Added.
2365         * fast/css-grid-layout/grid-painting-item-overflow-expected.html: Added.
2366         * fast/css-grid-layout/grid-painting-item-overflow.html: Added.
2367         * fast/css-grid-layout/grid-painting-items-only-once-expected.html: Added.
2368         * fast/css-grid-layout/grid-painting-items-only-once.html: Added.
2369         * fast/css-grid-layout/grid-painting-respect-dom-order-expected.html: Added.
2370         * fast/css-grid-layout/grid-painting-respect-dom-order.html: Added.
2371         * fast/css-grid-layout/grid-painting-rtl-expected.html: Added.
2372         * fast/css-grid-layout/grid-painting-rtl.html: Added.
2373         * fast/css-grid-layout/grid-self-baseline-01-expected.html: Added.
2374         * fast/css-grid-layout/grid-self-baseline-01.html: Added.
2375         * fast/css-grid-layout/grid-self-baseline-02-b-expected.html: Added.
2376         * fast/css-grid-layout/grid-self-baseline-02-b.html: Added.
2377         * fast/css-grid-layout/grid-self-baseline-02-expected.html: Added.
2378         * fast/css-grid-layout/grid-self-baseline-02.html: Added.
2379         * fast/css-grid-layout/grid-self-baseline-03-expected.html: Added.
2380         * fast/css-grid-layout/grid-self-baseline-03.html: Added.
2381         * fast/css-grid-layout/grid-self-baseline-04-expected.html: Added.
2382         * fast/css-grid-layout/grid-self-baseline-04.html: Added.
2383         * fast/css-grid-layout/grid-self-baseline-05-expected.html: Added.
2384         * fast/css-grid-layout/grid-self-baseline-05.html: Added.
2385         * fast/css-grid-layout/grid-self-baseline-06-expected.html: Added.
2386         * fast/css-grid-layout/grid-self-baseline-06.html: Added.
2387         * fast/css-grid-layout/grid-self-baseline-07-expected.html: Added.
2388         * fast/css-grid-layout/grid-self-baseline-07.html: Added.
2389         * fast/css-grid-layout/grid-self-baseline-horiz-01-expected.html: Added.
2390         * fast/css-grid-layout/grid-self-baseline-horiz-01.html: Added.
2391         * fast/css-grid-layout/grid-self-baseline-horiz-02-expected.html: Added.
2392         * fast/css-grid-layout/grid-self-baseline-horiz-02.html: Added.
2393         * fast/css-grid-layout/grid-self-baseline-horiz-03-expected.html: Added.
2394         * fast/css-grid-layout/grid-self-baseline-horiz-03.html: Added.
2395         * fast/css-grid-layout/grid-self-baseline-horiz-04-expected.html: Added.
2396         * fast/css-grid-layout/grid-self-baseline-horiz-04.html: Added.
2397         * fast/css-grid-layout/grid-self-baseline-horiz-05-expected.html: Added.
2398         * fast/css-grid-layout/grid-self-baseline-horiz-05.html: Added.
2399         * fast/css-grid-layout/grid-self-baseline-horiz-06-expected.html: Added.
2400         * fast/css-grid-layout/grid-self-baseline-horiz-06.html: Added.
2401         * fast/css-grid-layout/grid-self-baseline-horiz-07-expected.html: Added.
2402         * fast/css-grid-layout/grid-self-baseline-horiz-07.html: Added.
2403         * fast/css-grid-layout/grid-self-baseline-two-dimensional-expected.txt: Added.
2404         * fast/css-grid-layout/grid-self-baseline-two-dimensional.html: Added.
2405         * fast/css-grid-layout/grid-self-baseline-vertical-lr-01-expected.html: Added.
2406         * fast/css-grid-layout/grid-self-baseline-vertical-lr-01.html: Added.
2407         * fast/css-grid-layout/grid-self-baseline-vertical-lr-02-expected.html: Added.
2408         * fast/css-grid-layout/grid-self-baseline-vertical-lr-02.html: Added.
2409         * fast/css-grid-layout/grid-self-baseline-vertical-lr-03-expected.html: Added.
2410         * fast/css-grid-layout/grid-self-baseline-vertical-lr-03.html: Added.
2411         * fast/css-grid-layout/grid-self-baseline-vertical-lr-04-expected.html: Added.
2412         * fast/css-grid-layout/grid-self-baseline-vertical-lr-04.html: Added.
2413         * fast/css-grid-layout/grid-self-baseline-vertical-lr-05-expected.html: Added.
2414         * fast/css-grid-layout/grid-self-baseline-vertical-lr-05.html: Added.
2415         * fast/css-grid-layout/grid-self-baseline-vertical-lr-06-expected.html: Added.
2416         * fast/css-grid-layout/grid-self-baseline-vertical-lr-06.html: Added.
2417         * fast/css-grid-layout/grid-self-baseline-vertical-lr-07-expected.html: Added.
2418         * fast/css-grid-layout/grid-self-baseline-vertical-lr-07.html: Added.
2419         * fast/css-grid-layout/grid-self-baseline-vertical-rl-01-expected.html: Added.
2420         * fast/css-grid-layout/grid-self-baseline-vertical-rl-01.html: Added.
2421         * fast/css-grid-layout/grid-self-baseline-vertical-rl-02-expected.html: Added.
2422         * fast/css-grid-layout/grid-self-baseline-vertical-rl-02.html: Added.
2423         * fast/css-grid-layout/grid-self-baseline-vertical-rl-03-expected.html: Added.
2424         * fast/css-grid-layout/grid-self-baseline-vertical-rl-03.html: Added.
2425         * fast/css-grid-layout/grid-self-baseline-vertical-rl-04-expected.html: Added.
2426         * fast/css-grid-layout/grid-self-baseline-vertical-rl-04.html: Added.
2427         * fast/css-grid-layout/grid-self-baseline-vertical-rl-05-expected.html: Added.
2428         * fast/css-grid-layout/grid-self-baseline-vertical-rl-05.html: Added.
2429         * fast/css-grid-layout/grid-self-baseline-vertical-rl-06-expected.html: Added.
2430         * fast/css-grid-layout/grid-self-baseline-vertical-rl-06.html: Added.
2431         * fast/css-grid-layout/grid-self-baseline-vertical-rl-07-expected.html: Added.
2432         * fast/css-grid-layout/grid-self-baseline-vertical-rl-07.html: Added.
2433         * fast/css-grid-layout/grid-shorthands-style-format-expected.txt: Added.
2434         * fast/css-grid-layout/grid-shorthands-style-format.html: Added.
2435         * fast/css-grid-layout/grid-strict-ordering-crash-2-expected.txt: Added.
2436         * fast/css-grid-layout/grid-strict-ordering-crash-2.html: Added.
2437         * fast/css-grid-layout/named-grid-areas-dynamic-with-media-query-expected.html: Added.
2438         * fast/css-grid-layout/named-grid-areas-dynamic-with-media-query.html: Added.
2439         * fast/css-grid-layout/negative-growth-share-as-infinity-crash-expected.txt: Added.
2440         * fast/css-grid-layout/negative-growth-share-as-infinity-crash.html: Added.
2441         * fast/css-grid-layout/painting-item-marginbox-overflowing-grid-area-expected.html: Added.
2442         * fast/css-grid-layout/painting-item-marginbox-overflowing-grid-area.html: Added.
2443         * fast/css-grid-layout/positioned-grid-container-item-percentage-size-expected.html: Added.
2444         * fast/css-grid-layout/positioned-grid-container-item-percentage-size.html: Added.
2445         * fast/css-grid-layout/positioned-grid-container-percentage-tracks-expected.txt: Added.
2446         * fast/css-grid-layout/positioned-grid-container-percentage-tracks.html: Added.
2447         * fast/css-grid-layout/preferred-width-computed-after-layout-expected.txt: Added.
2448         * fast/css-grid-layout/preferred-width-computed-after-layout.html: Added.
2449         * fast/css-grid-layout/quirks-mode-percent-resolution-grid-item-expected.txt: Added.
2450         * fast/css-grid-layout/quirks-mode-percent-resolution-grid-item.html: Added.
2451         * fast/css-grid-layout/resources/blue-100x50.png: Added.
2452         * fast/css-grid-layout/resources/grid-definitions-parsing-utils.js:
2453         (testGridPositionDefinitionsValues):
2454         * fast/css-grid-layout/scrolled-grid-painting-expected.html: Added.
2455         * fast/css-grid-layout/scrolled-grid-painting-overflow-expected.html: Added.
2456         * fast/css-grid-layout/scrolled-grid-painting-overflow.html: Added.
2457         * fast/css-grid-layout/scrolled-grid-painting.html: Added.
2458         * fast/css-grid-layout/setting-node-properties-to-null-during-layout-should-not-crash-expected.txt: Added.
2459         * fast/css-grid-layout/setting-node-properties-to-null-during-layout-should-not-crash.html: Added.
2460         * fast/css-grid-layout/stale-grid-layout-2-expected.txt: Added.
2461         * fast/css-grid-layout/stale-grid-layout-expected.txt: Added.
2462         * fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html: Added.
2463         * fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html: Added.
2464
2465 2018-11-12  Youenn Fablet  <youenn@apple.com>
2466
2467         RealtimeOutgoing A/V sources should observe their sources only if having a sink
2468         https://bugs.webkit.org/show_bug.cgi?id=191490
2469
2470         Reviewed by Eric Carlson.
2471
2472         * webrtc/remove-track-expected.txt:
2473         * webrtc/remove-track.html:
2474         Add tests and fixed some flakiness issues on existing tests in the file.
2475
2476 2018-11-12  Youenn Fablet  <youenn@apple.com>
2477
2478         Support setting stream ids when adding a transceiver
2479         https://bugs.webkit.org/show_bug.cgi?id=191307
2480
2481         Reviewed by Eric Carlson.
2482
2483         * TestExpectations:
2484
2485 2018-11-12  Antti Koivisto  <antti@apple.com>
2486
2487         Support dynamic pseudo-classes on elements with display: contents
2488         https://bugs.webkit.org/show_bug.cgi?id=181640
2489         <rdar://problem/36605415>
2490
2491         Reviewed by Dean Jackson.
2492
2493         * fast/css/display-contents-hover-active-expected.txt: Added.
2494         * fast/css/display-contents-hover-active.html: Added.
2495
2496 2018-11-12  Simon Fraser  <simon.fraser@apple.com>
2497
2498         feFlood with alpha color doesn't work correctly
2499         https://bugs.webkit.org/show_bug.cgi?id=163666
2500
2501         Reviewed by Zalan Bujtas.
2502
2503         * svg/filters/feFlood-with-alpha-color-expected.html: Added.
2504         * svg/filters/feFlood-with-alpha-color.html: Added.
2505
2506 2018-11-12  Eric Carlson  <eric.carlson@apple.com>
2507
2508         Require <iframe allow="display"> for an iframe to use getDisplayMedia
2509         https://bugs.webkit.org/show_bug.cgi?id=191505
2510         <rdar://problem/45968811>
2511
2512         Reviewed by Jer Noble.
2513
2514         * http/tests/media/media-stream/enumerate-devices-iframe-allow-attribute-expected.txt:
2515         * http/tests/media/media-stream/get-display-media-iframe-allow-attribute-expected.txt: Added.
2516         * http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html: Added.
2517         * http/tests/media/media-stream/resources/get-display-media-devices-iframe.html: Added.
2518         * http/tests/ssl/media-stream/get-user-media-different-host-expected.txt:
2519         * http/tests/ssl/media-stream/get-user-media-nested-expected.txt:
2520
2521 2018-11-12  Simon Fraser  <simon.fraser@apple.com>
2522
2523         Make compositing updates incremental
2524         https://bugs.webkit.org/show_bug.cgi?id=90342
2525
2526         Reviewed by Antti Koivisto.
2527
2528         Add some new tests for issues discovered during development.
2529         
2530         Filter tests get new results because composited layer bounds are no longer affected
2531         by pixel-moving filters. 
2532
2533         * compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
2534         * compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt:
2535         * compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt:
2536         * compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt:
2537         * compositing/geometry/stacking-context-change-layer-reparent-expected.html: Added.
2538         * compositing/geometry/stacking-context-change-layer-reparent.html: Added.
2539         * compositing/layer-creation/change-to-overlap-expected.txt: Added.
2540         * compositing/layer-creation/change-to-overlap.html: Added.
2541         * compositing/updates/no-updates-in-non-composited-iframe-expected.txt: Added.
2542         * compositing/updates/no-updates-in-non-composited-iframe.html: Added.
2543         * compositing/updates/resources/non-composited.html: Added.
2544         * compositing/video/video-clip-change-src.html: This test was timing-sensitive; the behavior differed bases on whether we
2545         happened to do a compositing flush between the first and second video load.
2546         * platform/mac-wk1/TestExpectations: Mark compositing/layer-creation/fixed-overlap-extent.html as flakey; it depends on the
2547         timing of various AppKit-related things that aren't consistent.
2548
2549 2018-11-12  Jer Noble  <jer.noble@apple.com>
2550
2551         [MSE] Frame re-ordering can cause iframes to never be enqueued
2552         https://bugs.webkit.org/show_bug.cgi?id=191485
2553
2554         Reviewed by Eric Carlson.
2555
2556         * media/media-source/media-source-dropped-iframe-expected.txt: Added.
2557         * media/media-source/media-source-dropped-iframe.html: Added.
2558
2559 2018-11-11  Wenson Hsieh  <wenson_hsieh@apple.com>
2560
2561         Implement a new edit command to change the enclosing list type
2562         https://bugs.webkit.org/show_bug.cgi?id=191487
2563         <rdar://problem/45955922>
2564
2565         Reviewed by Ryosuke Niwa.
2566
2567         Add a new layout test to verify that the list change type editing command can be used to swap between enclosing
2568         ordered and unordered lists. Also exercises undo, redo, changing list types under `pre` and `table` elements,
2569         and handling selection within nested list elements.
2570
2571         * editing/execCommand/change-list-type-expected.txt: Added.
2572         * editing/execCommand/change-list-type.html: Added.
2573
2574 2018-11-11  Javier Fernandez  <jfernandez@igalia.com>
2575
2576         [css-grid] Import additional grid layout test from the WPT suite
2577         https://bugs.webkit.org/show_bug.cgi?id=191369
2578
2579         Reviewed by Manuel Rego Casasnovas.
2580
2581         New Grid Layout tests from the WPT suite.
2582
2583         * TestExpectations: Added bugs and ImageOnlyFailure for 3 tests that are failing.
2584
2585 2018-11-11  Daniel Bates  <dabates@apple.com>
2586
2587         [iOS] Draw caps lock indicator in password fields
2588         https://bugs.webkit.org/show_bug.cgi?id=190565
2589         <rdar://problem/45262343>
2590
2591         Unreviewed.
2592
2593         Update expected results now that iOS supports showing the caps lock indictor.
2594
2595         * platform/ios/fast/css/text-overflow-input-expected.txt:
2596         * platform/ios/fast/forms/basic-inputs-expected.txt:
2597         * platform/ios/fast/forms/input-appearance-height-expected.txt:
2598         * platform/ios/fast/forms/input-value-expected.txt:
2599         * platform/ios/fast/forms/placeholder-pseudo-style-expected.txt:
2600         * platform/ios/tables/mozilla_expected_failures/bugs/bug92647-1-expected.txt:
2601
2602 2018-11-11  Myles C. Maxfield  <mmaxfield@apple.com>
2603
2604         Address post-review comments after r237955
2605         https://bugs.webkit.org/show_bug.cgi?id=191496
2606
2607         Reviewed by Darin Adler.
2608
2609         * fast/css3-text/css3-text-decoration/text-underline-negative-expected.html:
2610
2611 2018-11-10  Simon Fraser  <simon.fraser@apple.com>
2612
2613         Remove support for -webkit-svg-shadow
2614         https://bugs.webkit.org/show_bug.cgi?id=187429
2615
2616         Reviewed by Dean Jackson.
2617
2618         -webkit-svg-shadow was a non-standard hack for online iWork, and they no longer use it,
2619         so remove it. No other browser supports it, and chromestatus say it's used on less than
2620         0.000001% of pages.
2621
2622         * css3/blending/svg-blend-layer-shadow.html: Removed.
2623         * fast/css/getComputedStyle/computed-style-expected.txt:
2624         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2625         * fast/css/getComputedStyle/resources/property-names.js:
2626         * fast/repaint/moving-shadow-on-container-expected.png: Removed.
2627         * fast/repaint/moving-shadow-on-container.html: Removed.
2628         * fast/repaint/moving-shadow-on-path-expected.txt: Removed.
2629         * fast/repaint/moving-shadow-on-path.html: Removed.
2630         * legacy-animation-engine/fast/css/getComputedStyle/resources/property-names.js:
2631         * platform/gtk/TestExpectations:
2632         * platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
2633         * platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
2634         * platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
2635         * platform/gtk/fast/repaint/moving-shadow-on-path-expected.png: Removed.
2636         * platform/gtk/svg/css/arrow-with-shadow-expected.png: Removed.
2637         * platform/gtk/svg/css/composite-shadow-example-expected.png: Removed.
2638         * platform/gtk/svg/css/composite-shadow-example-expected.txt: Removed.
2639         * platform/gtk/svg/css/composite-shadow-text-expected.png: Removed.
2640         * platform/gtk/svg/css/composite-shadow-text-expected.txt: Removed.
2641         * platform/gtk/svg/css/composite-shadow-with-opacity-expected.png: Removed.
2642         * platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
2643         * platform/gtk/svg/css/group-with-shadow-expected.png: Removed.
2644         * platform/gtk/svg/css/shadow-changes-expected.png: Removed.
2645         * platform/gtk/svg/css/shadow-changes-expected.txt: Removed.
2646         * platform/gtk/svg/css/stars-with-shadow-expected.png: Removed.
2647         * platform/gtk/svg/custom/simple-text-double-shadow-expected.txt: Removed.
2648         * platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
2649         * platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
2650         * platform/gtk/svg/filters/shadow-on-filter-expected.png: Removed.
2651         * platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
2652         * platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
2653         * platform/ios/TestExpectations:
2654         * platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
2655         * platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
2656         * platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2657         * platform/ios/svg/css/composite-shadow-example-expected.txt: Removed.
2658         * platform/ios/svg/css/composite-shadow-text-expected.txt: Removed.
2659         * platform/ios/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
2660         * platform/ios/svg/css/getComputedStyle-basic-expected.txt:
2661         * platform/ios/svg/css/group-with-shadow-expected.txt: Removed.
2662         * platform/ios/svg/css/shadow-changes-expected.txt: Removed.
2663         * platform/ios/svg/css/stars-with-shadow-expected.txt: Removed.
2664         * platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
2665         * platform/mac-sierra/fast/css/getComputedStyle/computed-style-expected.txt:
2666         * platform/mac-sierra/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2667         * platform/mac-sierra/svg/css/getComputedStyle-basic-expected.txt:
2668         * platform/mac/TestExpectations:
2669         * platform/mac/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
2670         * platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
2671         * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
2672         * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2673         * platform/mac/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
2674         * platform/mac/fast/repaint/moving-shadow-on-path-expected.png: Removed.
2675         * platform/mac/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
2676         * platform/mac/svg/css/arrow-with-shadow-expected.png: Removed.
2677         * platform/mac/svg/css/circle-in-mask-with-shadow-expected.png: Removed.
2678         * platform/mac/svg/css/clippath-with-shadow-expected.png: Removed.
2679         * platform/mac/svg/css/composite-shadow-example-expected.png: Removed.
2680         * platform/mac/svg/css/composite-shadow-text-expected.txt: Removed.
2681         * platform/mac/svg/css/composite-shadow-with-opacity-expected.png: Removed.
2682         * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
2683         * platform/mac/svg/css/group-with-shadow-expected.png: Removed.
2684         * platform/mac/svg/css/group-with-shadow-expected.txt: Removed.
2685         * platform/mac/svg/css/mask-with-shadow-expected.png: Removed.
2686         * platform/mac/svg/css/path-with-shadow-expected.png: Removed.
2687         * platform/mac/svg/css/shadow-and-opacity-expected.png: Removed.
2688         * platform/mac/svg/css/shadow-changes-expected.png: Removed.
2689         * platform/mac/svg/css/shadow-changes-expected.txt: Removed.
2690         * platform/mac/svg/css/shadow-with-large-radius-expected.png: Removed.
2691         * platform/mac/svg/css/shadow-with-negative-offset-expected.png: Removed.
2692         * platform/mac/svg/css/stars-with-shadow-expected.png: Removed.
2693         * platform/mac/svg/css/stars-with-shadow-expected.txt: Removed.
2694         * platform/mac/svg/custom/simple-text-double-shadow-expected.png: Removed.
2695         * platform/mac/svg/custom/simple-text-double-shadow-expected.txt: Removed.
2696         * platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
2697         * platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
2698         * platform/mac/svg/filters/shadow-on-filter-expected.png: Removed.
2699         * platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
2700         * platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
2701         * platform/win/TestExpectations:
2702         * platform/win/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
2703         * platform/win/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
2704         * platform/win/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
2705         * platform/win/svg/css/composite-shadow-text-expected.txt: Removed.
2706         * platform/win/svg/css/group-with-shadow-expected.txt: Removed.
2707         * platform/win/svg/css/shadow-changes-expected.txt: Removed.
2708         * platform/win/svg/custom/simple-text-double-shadow-expected.txt: Removed.
2709         * platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
2710         * platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png: Removed.
2711         * platform/wincairo/svg/css/composite-shadow-text-expected.txt: Removed.
2712         * platform/wincairo/svg/css/shadow-changes-expected.txt: Removed.
2713         * platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
2714         * platform/wpe/svg/css/composite-shadow-text-expected.txt: Removed.
2715         * platform/wpe/svg/css/shadow-changes-expected.txt: Removed.
2716         * platform/wpe/svg/css/stars-with-shadow-expected.txt: Removed.
2717         * platform/wpe/svg/custom/simple-text-double-shadow-expected.txt: Removed.
2718         * platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
2719         * svg/css/arrow-with-shadow-expected.txt: Removed.
2720         * svg/css/arrow-with-shadow.svg: Removed.
2721         * svg/css/circle-in-mask-with-shadow-expected.png: Removed.
2722         * svg/css/circle-in-mask-with-shadow-expected.txt: Removed.
2723         * svg/css/circle-in-mask-with-shadow.svg: Removed.
2724         * svg/css/clippath-with-shadow-expected.png: Removed.
2725         * svg/css/clippath-with-shadow-expected.txt: Removed.
2726         * svg/css/clippath-with-shadow.svg: Removed.
2727         * svg/css/composite-shadow-example-expected.txt: Removed.
2728         * svg/css/composite-shadow-example.html: Removed.
2729         * svg/css/composite-shadow-text-expected.png: Removed.
2730         * svg/css/composite-shadow-text.svg: Removed.
2731         * svg/css/composite-shadow-with-opacity-expected.txt: Removed.
2732         * svg/css/composite-shadow-with-opacity.html: Removed.
2733         * svg/css/getComputedStyle-basic-expected.txt:
2734         * svg/css/group-with-shadow-expected.txt: Removed.
2735         * svg/css/group-with-shadow.svg: Removed.
2736         * svg/css/mask-with-shadow-expected.txt: Removed.
2737         * svg/css/mask-with-shadow.svg: Removed.
2738         * svg/css/parent-shadow-offscreen-expected.svg: Removed.
2739         * svg/css/parent-shadow-offscreen.svg: Removed.
2740         * svg/css/path-with-shadow-expected.png: Removed.
2741         * svg/css/path-with-shadow-expected.txt: Removed.
2742         * svg/css/path-with-shadow.svg: Removed.
2743         * svg/css/root-shadow-offscreen-expected.svg: Removed.
2744         * svg/css/root-shadow-offscreen.svg: Removed.
2745         * svg/css/shadow-and-opacity-expected.txt: Removed.
2746         * svg/css/shadow-and-opacity.svg: Removed.
2747         * svg/css/shadow-changes.svg: Removed.
2748         * svg/css/shadow-with-large-radius-expected.png: Removed.
2749         * svg/css/shadow-with-large-radius-expected.txt: Removed.
2750         * svg/css/shadow-with-large-radius.svg: Removed.
2751         * svg/css/shadow-with-negative-offset-expected.png: Removed.
2752         * svg/css/shadow-with-negative-offset-expected.txt: Removed.
2753         * svg/css/shadow-with-negative-offset.svg: Removed.
2754         * svg/css/stars-with-shadow-expected.txt: Removed.
2755         * svg/css/stars-with-shadow.html: Removed.
2756         * svg/custom/simple-text-double-shadow-expected.png: Removed.
2757         * svg/custom/simple-text-double-shadow-expected.txt: Removed.
2758         * svg/custom/simple-text-double-shadow.svg: Removed.
2759         * svg/custom/transform-with-shadow-and-gradient.svg: Removed.
2760         * svg/filters/shadow-on-filter-expected.txt: Removed.
2761         * svg/filters/shadow-on-filter.svg: Removed.
2762         * svg/filters/shadow-on-rect-with-filter-expected.txt: Removed.
2763         * svg/filters/shadow-on-rect-with-filter.svg: Removed.
2764         * svg/repaint/repaint-webkit-svg-shadow-container-expected.txt: Removed.
2765         * svg/repaint/repaint-webkit-svg-shadow-container.html: Removed.
2766         * svg/repaint/repaint-webkit-svg-shadow-expected.txt: Removed.
2767         * svg/repaint/repaint-webkit-svg-shadow.svg: Removed.
2768
2769 2018-11-10  Ryan Haddad  <ryanhaddad@apple.com>
2770
2771         Unreviewed, rolling out r238065.
2772
2773         Breaks internal builds.
2774
2775         Reverted changeset:
2776
2777         "Make it possible to edit images inline"
2778         https://bugs.webkit.org/show_bug.cgi?id=191352
2779         https://trac.webkit.org/changeset/238065
2780
2781 2018-11-10  Chris Dumez  <cdumez@apple.com>
2782
2783         Unreviewed, fix typo in r238066.
2784
2785         * accessibility/ios-simulator/form-control-validation-message.html:
2786
2787 2018-11-10  Chris Dumez  <cdumez@apple.com>
2788
2789         Unreviewed attempt to deflake accessibility/ios-simulator/form-control-validation-message.html
2790
2791         * accessibility/ios-simulator/form-control-validation-message.html:
2792
2793 2018-11-10  Tim Horton  <timothy_horton@apple.com>
2794
2795         Make it possible to edit images inline
2796         https://bugs.webkit.org/show_bug.cgi?id=191352
2797         <rdar://problem/30107985>
2798
2799         Reviewed by Dean Jackson.
2800
2801         * TestExpectations:
2802         * editing/images/basic-editable-image-expected.txt: Added.
2803         * editing/images/basic-editable-image.html: Added.
2804         * editing/images/reparent-editable-image-maintains-strokes-expected.txt: Added.
2805         * editing/images/reparent-editable-image-maintains-strokes.html: Added.
2806         * platform/ios-wk2/TestExpectations:
2807         * resources/ui-helper.js:
2808         (window.UIHelper.drawSquareInEditableImage):
2809         (window.UIHelper.numberOfStrokesInEditableImage):
2810         (window.UIHelper):
2811         Add tests that we can find and draw in editable images, and that if
2812         the element is moved around in the DOM, it persists its strokes.
2813
2814 2018-11-09  Megan Gardner  <megan_gardner@apple.com>
2815
2816         Fix Test Expectations for Reveal Test
2817         https://bugs.webkit.org/show_bug.cgi?id=191476
2818
2819         Unreviewed test gardening.
2820
2821         Put the test expectation in the correct location to deal with
2822         the different behaviour old platforms.
2823
2824         * platform/mac/editing/mac/selection/context-menu-select-editability-expected.txt: Renamed from LayoutTests/platform/mac-highsierra/editing/mac/selection/context-menu-select-editability-expected.txt.
2825
2826 2018-11-09  Tim Horton  <timothy_horton@apple.com>
2827
2828         Normal-flow-only flex items don't correctly respect z-index
2829         https://bugs.webkit.org/show_bug.cgi?id=191486
2830
2831         Reviewed by Simon Fraser.
2832
2833         * css3/flexbox/z-index-with-normal-flow-only-expected.html: Added.
2834         * css3/flexbox/z-index-with-normal-flow-only.html: Added.
2835         Add a test that a <canvas> with z-index 50 correctly stacks below
2836         a <canvas> that is a flex-item with z-index 100.
2837
2838 2018-11-09  Jer Noble  <jer.noble@apple.com>
2839
2840         SourceBuffer throws an error when appending a second init segment after changeType().
2841         https://bugs.webkit.org/show_bug.cgi?id=191474
2842
2843         Reviewed by Eric Carlson.
2844
2845         * media/media-source/media-source-changetype-second-init-expected.txt: Added.
2846         * media/media-source/media-source-changetype-second-init.html: Added.
2847
2848 2018-11-09  Andy Estes  <aestes@apple.com>
2849
2850         [Payment Request] canMakePayment() should not consider serialized payment method data
2851         https://bugs.webkit.org/show_bug.cgi?id=191432
2852
2853         Reviewed by Dean Jackson.
2854
2855         * http/tests/paymentrequest/payment-request-canmakepayment-method.https-expected.txt:
2856         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html: Updated with
2857         changes from imported/w3c/web-platform-tests/payment-request/. Modified two tests to use
2858         user_activation_test() rather than test_driver.bless().
2859         * http/tests/paymentrequest/payment-request-show-method.https-expected.txt:
2860         * http/tests/paymentrequest/payment-request-show-method.https.html: Now that canMakePayment
2861         does not convert payment method data, added a test that ensures show() rejects with a
2862         TypeError when Apple Pay's payment method data is invalid.
2863         * platform/ios-wk2/TestExpectations: Un-skipped payment-request-canmakepayment-method.https.html.
2864         * platform/mac-wk2/TestExpectations: Ditto.
2865
2866 2018-11-09  Andy Estes  <aestes@apple.com>
2867
2868         [Payment Request] PaymentResponse.details should be updated when the user accepts a rpayment retry
2869         https://bugs.webkit.org/show_bug.cgi?id=191440
2870
2871         Reviewed by Dean Jackson.
2872
2873         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt:
2874         * http/tests/paymentrequest/payment-response-retry-method.https.html:
2875
2876 2018-11-09  Chris Dumez  <cdumez@apple.com>
2877
2878         HTML form validation bubble disappears
2879         https://bugs.webkit.org/show_bug.cgi?id=191418
2880
2881         Reviewed by Simon Fraser.
2882
2883         Add API test coverage and update existing tests to use form-validation.js and
2884         avoid code duplication.
2885
2886         * fast/forms/form-validation.js: Added.
2887         (getValidationBubbleContents):
2888         (getValidationBubble.return.new.Promise.):
2889         (getValidationBubble):
2890         * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt:
2891         * fast/forms/ios/validation-bubble-dismiss-on-tap.html:
2892         * fast/forms/navigation-dismisses-validation-bubbles-expected.txt: Renamed from LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt.
2893         * fast/forms/navigation-dismisses-validation-bubbles.html: Renamed from LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles.html.
2894         * fast/forms/resources/check-validation-bubble-not-visible.html: Renamed from LayoutTests/http/tests/navigation/resources/check-validation-bubble-not-visible.html.
2895         * fast/forms/scroll-into-view-and-show-validation-message-expected.txt: Added.
2896         * fast/forms/scroll-into-view-and-show-validation-message.html: Added.
2897         * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt:
2898         * fast/forms/validation-bubble-disappears-when-input-detached.html:
2899         * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt:
2900         * fast/forms/validation-bubble-disappears-when-input-moved.html:
2901         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt:
2902         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html:
2903         * fast/forms/validation-bubble-escape-key-dismiss-expected.txt:
2904         * fast/forms/validation-bubble-escape-key-dismiss.html:
2905         * fast/forms/validation-custom-message-expected.txt:
2906         * fast/forms/validation-custom-message.html:
2907         * fast/forms/validation-message-detached-iframe-expected.txt:
2908         * fast/forms/validation-message-detached-iframe.html:
2909         * fast/forms/validation-message-detached-iframe2-expected.txt:
2910         * fast/forms/validation-message-detached-iframe2.html:
2911         * fast/forms/validation-message-minimum-font-size-expected.txt:
2912         * fast/forms/validation-message-minimum-font-size.html:
2913         * fast/forms/validation-messages-expected.txt:
2914         * fast/forms/validation-messages.html:
2915         * platform/gtk/TestExpectations:
2916         * platform/ios-wk1/TestExpectations:
2917         * platform/win/TestExpectations:
2918
2919 2018-11-09  Jer Noble  <jer.noble@apple.com>
2920
2921         [Cocoa] Fix failing imported/w3c/web-platform-tests/media-source/mediasource-changetype-play.html test
2922         https://bugs.webkit.org/show_bug.cgi?id=191396
2923
2924         Reviewed by Eric Carlson.
2925
2926         * platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt:
2927         * platform/mac-sierra/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt:
2928
2929 2018-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2930
2931         Clean up test expectations after r237942
2932         https://bugs.webkit.org/show_bug.cgi?id=191448
2933
2934         Unreviewed test gardening.
2935
2936         Add test expectation files for Sierra WK1.
2937
2938         * platform/mac-sierra-wk1/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt: Added.
2939         * platform/mac-sierra-wk1/compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt: Added.
2940
2941 2018-11-09  Daniel Bates  <dabates@apple.com>
2942
2943         [iOS] Pressing forward delete key in text field does nothing and we should not invoke an editor
2944         action when forward delete is pressed outside a text field
2945         https://bugs.webkit.org/show_bug.cgi?id=190566
2946         <rdar://problem/45262367>
2947
2948         Reviewed by Wenson Hsieh.
2949
2950         Add a test to ensure that pressing the forward delete key deletes the next character.
2951
2952         * fast/events/ios/forward-delete-in-editable-expected.txt: Added.
2953         * fast/events/ios/forward-delete-in-editable.html: Added.
2954
2955 2018-11-09  Carlos Garcia Campos  <cgarcia@igalia.com>
2956
2957         REGRESSION(r236365): [GTK] Many form-related tests are failing
2958         https://bugs.webkit.org/show_bug.cgi?id=189993
2959
2960         Reviewed by Michael Catanzaro.
2961
2962         Remove expectations for tests that are passing now.
2963
2964         * platform/gtk/TestExpectations:
2965
2966 2018-11-08  Megan Gardner  <megan_gardner@apple.com>
2967
2968         Adopt Reveal Framework to replace Lookup
2969         https://bugs.webkit.org/show_bug.cgi?id=191097
2970
2971         Reviewed by Tim Horton.
2972
2973         Reveal selects spaces instead of adjacent words, no matter how interesting they are. 
2974         Update the tests to show this, and change the expections for previous platforms.
2975
2976         * editing/mac/selection/context-menu-select-editability-expected.txt:
2977         * editing/mac/selection/context-menu-select-editability.html:
2978         * platform/mac-highsierra/editing/mac/selection/context-menu-select-editability-expected.txt: Copied from LayoutTests/editing/mac/selection/context-menu-select-editability-expected.txt.
2979
2980 2018-11-08  Ryan Haddad  <ryanhaddad@apple.com>
2981
2982         Clean up test expectations after r237942
2983         https://bugs.webkit.org/show_bug.cgi?id=191448
2984
2985         Unreviewed test gardening.
2986
2987         Add High Sierra specific expectation files for three tests, rebaseline one for Mojave, and remove failure expectations.
2988
2989         * platform/mac-highsierra-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt: Copied from LayoutTests/platform/mac-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt.
2990         * platform/mac-highsierra-wk1/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt: Added.
2991         * platform/mac-highsierra-wk1/compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt: Added.
2992         * platform/mac-wk1/TestExpectations:
2993         * platform/mac-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
2994
2995 2018-11-08  Ryan Haddad  <ryanhaddad@apple.com>
2996
2997         [Mojave WK1] Layout test fast/events/detect-caps-lock.html is timing out
2998         https://bugs.webkit.org/show_bug.cgi?id=191424
2999
3000         Unreviewed test gardening.
3001
3002         Update expectations since this test is only expected to run on WK2.
3003
3004         * platform/mac-wk2/TestExpectations:
3005         * platform/mac/TestExpectations:
3006
3007 2018-11-08  Ross Kirsling  <ross.kirsling@sony.com>
3008
3009         U+180E is no longer a whitespace character
3010         https://bugs.webkit.org/show_bug.cgi?id=191415
3011
3012         Reviewed by Saam Barati.
3013
3014         * js/ToNumber-expected.txt:
3015         * js/parseFloat-expected.txt:
3016         * js/script-tests/ToNumber.js:
3017         * js/script-tests/parseFloat.js:
3018         Update tests and expectations.
3019
3020         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt:
3021         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt:
3022         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt:
3023         * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt:
3024         * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt:
3025         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.2_parseInt/S15.1.2.2_A2_T10-expected.txt:
3026         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.3_parseFloat/S15.1.2.3_A2_T10-expected.txt:
3027         * sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt:
3028         * sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt:
3029         * sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt:
3030         * sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt:
3031         * sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt:
3032         * sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt:
3033         * sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt:
3034         * sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt:
3035         * sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt:
3036         Let outdated sputnik checks fail.
3037
3038 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
3039
3040         Unprefix text-decoration CSS3 properties
3041         https://bugs.webkit.org/show_bug.cgi?id=127193
3042
3043         Reviewed by Dean Jackson.
3044
3045         * fast/css3-text/css3-text-decoration/unprefix-expected.html: Added.
3046         * fast/css3-text/css3-text-decoration/unprefix.html: Added.
3047
3048 2018-11-08  Timothy Hatcher  <timothy@apple.com>
3049
3050         Add experimental support for a `supported-color-schemes` CSS property.
3051         https://bugs.webkit.org/show_bug.cgi?id=191319
3052         rdar://problem/45852261
3053
3054         Reviewed by Dean Jackson.
3055
3056         * css-dark-mode/parse-supported-color-schemes-expected.txt: Added.
3057         * css-dark-mode/parse-supported-color-schemes.html: Added.
3058         * css-dark-mode/supported-color-schemes-css-expected.txt: Added.
3059         * css-dark-mode/supported-color-schemes-css.html: Added.
3060
3061 2018-11-08  Per Arne Vollan  <pvollan@apple.com>
3062
3063         [Sierra Release WK2] Layout Test media/track/track-cue-css.html is a flaky failure
3064         https://bugs.webkit.org/show_bug.cgi?id=191200
3065
3066         Unreviewed, speculative fix for test flakiness.
3067
3068         * media/track/track-cue-css-expected.html:
3069         * media/track/track-cue-css.html:
3070
3071 2018-11-08  Eric Carlson  <eric.carlson@apple.com>
3072
3073         [MediaStream] Use DeviceIdHashSaltStorage to generate device ID hash salt
3074         https://bugs.webkit.org/show_bug.cgi?id=190825
3075         <rdar://problem/45486085>
3076
3077         Update enumerate-devices-source-id to expect the same device to have the same ID in all
3078         iframes, remove enumerate-devices-source-id-persistent because the logic was faulty.
3079
3080         Reviewed by Youenn Fablet.
3081
3082         * TestExpectations: Unskip http/tests/media/media-stream/enumerate-devices-source-id.html
3083         * http/tests/media/media-stream/enumerate-devices-source-id-expected.txt:
3084         * http/tests/media/media-stream/enumerate-devices-source-id-persistent-expected.txt: Removed.
3085         * http/tests/media/media-stream/enumerate-devices-source-id-persistent.html: Removed.
3086         * http/tests/media/media-stream/enumerate-devices-source-id.html:
3087
3088 2018-11-08  Jonathan Hammer  <jonathan@e3software.com>
3089
3090         Plain text drag in contenteditable is always DragOperationCopy, never DragOperationMove
3091         https://bugs.webkit.org/show_bug.cgi?id=191228
3092         <rdar://problem/45786830>
3093
3094         Reviewed by Wenson Hsieh.
3095
3096         A test that checks that dragging plain text in a contenteditable element results
3097         in the text being moved and not copied. Only applies to WK1. Test skipped on
3098         WK2 because WK2 EventSender does not support drag events. Test also skipped on 
3099         AppleWin because drag and drop doesn't work correctly in DRT (according to the 
3100         TestExpectations file).
3101
3102         * fast/events/drag-and-drop-move-not-copy-expected.txt: Added.
3103         * fast/events/drag-and-drop-move-not-copy.html: Added.
3104         * platform/win/TestExpectations:
3105         * platform/wk2/TestExpectations:
3106
3107 2018-11-08  Alicia Boya García  <aboya@igalia.com>
3108
3109         [GTK] Unreviewed test gardening
3110         https://bugs.webkit.org/show_bug.cgi?id=191404
3111
3112         * platform/gtk/TestExpectations:
3113         * platform/gtk/fast/block/basic/height-percentage-simple-expected.txt: Added.
3114         * platform/gtk/fast/inline/simple-inline-block-expected.txt: Added.
3115         * platform/gtk/fast/inline/simple-intruding-float1-expected.txt: Added.
3116         * platform/gtk/fast/inline/simple-intruding-floats2-expected.txt: Added.
3117         * platform/gtk/fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
3118
3119 2018-11-07  Justin Michaud  <justin_michaud@apple.com>
3120
3121         CSS Painting API should pass size, arguments and input properties to paint callback
3122         https://bugs.webkit.org/show_bug.cgi?id=191309
3123
3124         Reviewed by Chris Dumez.
3125
3126         * fast/css-custom-paint/properties-expected.html: Added.
3127         * fast/css-custom-paint/properties.html: Added.
3128         * fast/css-custom-paint/worklet.html:
3129
3130 2018-11-07  Zalan Bujtas  <zalan@apple.com>
3131
3132         Click and touch event listeners on the body don't work
3133         https://bugs.webkit.org/show_bug.cgi?id=191392
3134         <rdar://problem/5844416>
3135
3136         Reviewed by Simon Fraser.
3137
3138         * fast/events/click-handler-on-body-simple-expected.txt: Added.
3139         * fast/events/click-handler-on-body-simple.html: Added.
3140         * fast/events/touch/touch-handler-on-body-simple-expected.txt: Added.
3141         * fast/events/touch/touch-handler-on-body-simple.html: Added.
3142
3143 2018-11-07  Wenson Hsieh  <wenson_hsieh@apple.com>
3144
3145         Add an editing command for creating and inserting child lists
3146         https://bugs.webkit.org/show_bug.cgi?id=191335
3147         <rdar://problem/45814050>
3148
3149         Reviewed by Ryosuke Niwa.
3150
3151         Add a new layout tests that exercise the "InsertNested(Un)orderedList" editing commands in several scenarios
3152         including undo, redo, executing the edit command with a ranged selection, outdenting to decrease list level,
3153         inserting lists in and around tables and table cells, and inserting lists in and around pre elements.
3154
3155         * editing/execCommand/insert-nested-lists-expected.txt: Added.
3156         * editing/execCommand/insert-nested-lists-in-table-expected.txt: Added.
3157         * editing/execCommand/insert-nested-lists-in-table.html: Added.
3158         * editing/execCommand/insert-nested-lists-with-pre-expected.txt: Added.
3159         * editing/execCommand/insert-nested-lists-with-pre.html: Added.
3160         * editing/execCommand/insert-nested-lists.html: Added.
3161
3162 2018-11-07  Chris Dumez  <cdumez@apple.com>
3163
3164         ASSERT(renderer()) under HTMLTextAreaElement::updateValue()
3165         https://bugs.webkit.org/show_bug.cgi?id=191391
3166         <rdar://problem/34219633>
3167
3168         Reviewed by Geoffrey Garen.
3169
3170         Add layout test coverage. I have verified that this test passes in Firefox and Chrome.
3171         It used to crash before this change in debug.
3172
3173         * editing/inserting/inset-html-textarea-without-renderer-expected.txt: Added.
3174         * editing/inserting/inset-html-textarea-without-renderer.html: Added.
3175
3176 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
3177
3178         Positioned text underline can look like a strike-through
3179         https://bugs.webkit.org/show_bug.cgi?id=191341
3180
3181         Reviewed by Simon Fraser.
3182
3183         * fast/css3-text/css3-text-decoration/text-underline-negative-expected.html: Added.
3184         * fast/css3-text/css3-text-decoration/text-underline-negative.html: Added.
3185
3186 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
3187
3188         Dotted underlines that skip descenders are invisible
3189         https://bugs.webkit.org/show_bug.cgi?id=191403
3190
3191         Reviewed by Simon Fraser.
3192
3193         * fast/css3-text/css3-text-decoration/text-underline-style-expected.html: Added.
3194         * fast/css3-text/css3-text-decoration/text-underline-style.html: Added.
3195
3196 2018-11-07  Andy Estes  <aestes@apple.com>
3197
3198         Crash in WebCore::PaymentRequest::canMakePayment when Apple Pay payment method data is missing
3199         https://bugs.webkit.org/show_bug.cgi?id=191331
3200
3201         Reviewed by Alexey Proskuryakov.
3202
3203         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html:
3204
3205 2018-11-07  Simon Fraser  <simon.fraser@apple.com>
3206
3207         Revert 237849: it breaks MotionMark
3208         https://bugs.webkit.org/show_bug.cgi?id=191398
3209
3210         Reviewed by Simon Fraser.
3211
3212         * fast/scrolling/ios/update-scroll-coordinated-status-expected.txt: Removed.
3213         * fast/scrolling/ios/update-scroll-coordinated-status.html: Removed.
3214
3215 2018-11-07  Simon Fraser  <simon.fraser@apple.com>
3216
3217         Some WK1 repaint tests are flakey
3218         https://bugs.webkit.org/show_bug.cgi?id=190627
3219
3220         Reviewed by Zalan Bujtas.
3221         
3222         New baseline.
3223
3224         * compositing/masks/compositing-clip-path-change-no-repaint-expected.txt:
3225
3226 2018-11-07  Ross Kirsling  <ross.kirsling@sony.com>
3227
3228         [WinCairo] Unreviewed layout test gardening.
3229
3230         * platform/wincairo/TestExpectations:
3231
3232 2018-11-07  Dean Jackson  <dino@apple.com>
3233
3234         [iOS] WebGL leaks exact GPU type
3235         https://bugs.webkit.org/show_bug.cgi?id=191393
3236         <rdar://problem/45788297>
3237
3238         Reviewed by Tim Horton.
3239
3240         A test that checks that when the GPU vendor is Apple we're
3241         returning a generic renderer name.
3242
3243         * fast/canvas/webgl/hide-some-renderer-info-expected.txt: Added.
3244         * fast/canvas/webgl/hide-some-renderer-info.html: Added.
3245
3246 2018-11-07  Ali Juma  <ajuma@chromium.org>
3247
3248         IntersectionObserver GC-dependent tests are flaky
3249         https://bugs.webkit.org/show_bug.cgi?id=191387
3250
3251         Reviewed by Chris Dumez.
3252
3253         Make these tests more robust by triggering GC repeatedly inside a setInterval(). Having only a single call to
3254         GC is potentially flaky, since that call will early-out and return immediately if a GC is already underway.
3255
3256         * intersection-observer/root-element-deleted.html:
3257         * intersection-observer/target-deleted.html:
3258
3259 2018-11-07  Dan Bernstein  <mitz@apple.com>
3260
3261         Add a pseudoclass that matches img elements that are backed by an attachment
3262         https://bugs.webkit.org/show_bug.cgi?id=191286
3263         <rdar://problem/45823554>
3264
3265         Reviewed by Dean Jackson.
3266
3267         * fast/css/has-attachment-expected.txt: Added.
3268         * fast/css/has-attachment.html: Added.
3269         * platform/win/TestExpectations:
3270
3271 2018-11-07  Ali Juma  <ajuma@chromium.org>
3272
3273         IntersectionObserverEntry doesn't keep JS wrappers of rects alive
3274         https://bugs.webkit.org/show_bug.cgi?id=191330
3275
3276         Reviewed by Chris Dumez.
3277
3278         Add test coverage.
3279
3280         * intersection-observer/intersection-observer-entry-keeps-js-wrappers-of-rects-alive-expected.txt: Added.
3281         * intersection-observer/intersection-observer-entry-keeps-js-wrappers-of-rects-alive.html: Added.
3282
3283 2018-11-07  Ryan Haddad  <ryanhaddad@apple.com>
3284
3285         Unreviewed, update test expectations for fast/events/pointer.
3286
3287         * TestExpectations: Skip this directory.
3288         * platform/ios/TestExpectations: Remove skip since it is now skipped globally.
3289
3290 2018-11-07  Per Arne Vollan  <pvollan@apple.com>
3291
3292         Layout Test fast/text/international/khmer-selection.html is crashing
3293         https://bugs.webkit.org/show_bug.cgi?id=191368
3294
3295         Unreviewed test gardening.
3296
3297         * platform/win/TestExpectations:
3298
3299 2018-11-07  Per Arne Vollan  <pvollan@apple.com>
3300
3301         Layout Test fast/block/basic/quirk-mode-percent-height.html is failing
3302         https://bugs.webkit.org/show_bug.cgi?id=191366
3303
3304         Unreviewed test gardening.
3305
3306         * platform/win/TestExpectations:
3307
3308 2018-11-07  Zamiul Haque  <zhaque@apple.com>
3309
3310         Created a layout test to ensure that date controls marked as credit card expiry
3311         fields present a Gregorian calendar regardless of default system settings. 
3312         https://bugs.webkit.org/show_bug.cgi?id=191096
3313         rdar://problem/42640256
3314
3315         Reviewed by Tim Horton.
3316
3317         Added two new methods to UIHelper, helping to facilitate this. calendarType
3318         returns the calendar identifier of the NSCalendar instance used by the presented
3319         date picker and setDefaultCalendarType accepts a calendar identifier as an
3320         argument for changing the default system settings.
3321
3322         * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html:
3323         * platform/win/TestExpectations:
3324         * resources/ui-helper.js:
3325         (window.UIHelper.calendarType):
3326         (window.UIHelper.setDefaultCalendarType):
3327
3328 2018-11-07  Tadeu Zagallo  <tzagallo@apple.com>
3329
3330         REGRESSION(r237547): Test failures on 32-bit JSC since the JIT was disabled
3331         https://bugs.webkit.org/show_bug.cgi?id=191184
3332
3333         Reviewed by Saam Barati.
3334
3335         Skip test when the JIT is disabled since it's too slow to run on CLoop.
3336
3337         * js/script-tests/regress-139548.js:
3338
3339 2018-11-06  Youenn Fablet  <youenn@apple.com>
3340
3341         Reenable imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https.html
3342         https://bugs.webkit.org/show_bug.cgi?id=191343
3343
3344         Unreviewed.
3345
3346         * TestExpectations: Unskipping test.
3347         * platform/ios-wk2/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https-expected.txt: Removed.
3348
3349 2018-11-06  Youenn Fablet  <youenn@apple.com>
3350
3351         sender.replaceTrack() fails with InvalidStateError if the transceiver.direction is "inactive"
3352         https://bugs.webkit.org/show_bug.cgi?id=191202
3353
3354         Reviewed by Eric Carlson.
3355
3356         * TestExpectations: skipping a timing out related test.
3357         It is already timing out but is also flaky.
3358
3359 2018-11-06  Justin Fan  <justin_fan@apple.com>
3360
3361         [WebGPU] Experimental prototype for WebGPURenderPipeline and WebGPUSwapChain
3362         https://bugs.webkit.org/show_bug.cgi?id=191291
3363
3364         Reviewed by Myles Maxfield.
3365
3366         * webgpu/js/set-up-webgpu-contexts.js: Added helper script for running different webgpu tests.
3367         (runWebGPUTests):
3368         (async.runWebGPUTestsOnCanvas):
3369         (async.setUpContexts):
3370         * webgpu/render-pipelines-expected.txt: Added.
3371         * webgpu/render-pipelines.html: Added.
3372         * webgpu/shader-modules-expected.txt:
3373         * webgpu/shader-modules.html: Updated to use functions in set-up-webgpu-contexts.js.
3374         * webgpu/webgpu-basics-expected.txt:
3375         * webgpu/webgpu-basics.html: Updated through creating a WebGPURenderPipeline.
3376
3377 2018-11-06  Youenn Fablet  <youenn@apple.com>
3378
3379         Calling sender.replaceTrack() twice produces a new transceiver and its corresponding m= section
3380         https://bugs.webkit.org/show_bug.cgi?id=191261
3381
3382         Reviewed by Eric Carlson.
3383
3384         * webrtc/video-addTransceiver-expected.txt:
3385         * webrtc/video-addTransceiver.html:
3386
3387 2018-11-06  Youenn Fablet  <youenn@apple.com>
3388
3389         Make mDNS ICE Candidate an experimental flag again
3390         https://bugs.webkit.org/show_bug.cgi?id=191262
3391
3392         Reviewed by Dean Jackson.
3393
3394         * webrtc/datachannel/mdns-ice-candidates.html:
3395
3396 2018-11-06  Myles C. Maxfield  <mmaxfield@apple.com>
3397
3398         Implement text-underline-offset and text-decoration-thickness
3399         https://bugs.webkit.org/show_bug.cgi?id=190774
3400
3401         Reviewed by Dean Jackson.
3402
3403         * animations/text-decoration-thickness-expected.txt: Added.
3404         * animations/text-decoration-thickness.html: Added.
3405         * animations/text-underline-offset-expected.txt: Added.
3406         * animations/text-underline-offset.html: Added.
3407         * fast/css3-text/css3-text-decoration/text-decoration-offset-2-expected-mismatch.html: Added.
3408         * fast/css3-text/css3-text-decoration/text-decoration-offset-2.html: Added.
3409         * fast/css3-text/css3-text-decoration/text-decoration-offset-3-expected-mismatch.html: Added.
3410         * fast/css3-text/css3-text-decoration/text-decoration-offset-3.html: Added.
3411         * fast/css3-text/css3-text-decoration/text-decoration-offset-auto-length-expected.html: Added.
3412         * fast/css3-text/css3-text-decoration/text-decoration-offset-auto-length.html: Added.
3413         * fast/css3-text/css3-text-decoration/text-decoration-offset-baseline-expected.html: Added.
3414         * fast/css3-text/css3-text-decoration/text-decoration-offset-baseline.html: Added.
3415         * fast/css3-text/css3-text-decoration/text-decoration-offset-expected-mismatch.html: Added.
3416         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-auto-expected.html: Added.
3417         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-auto.html: Added.
3418         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-length-expected.html: Added.
3419         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-length.html: Added.
3420         * fast/css3-text/css3-text-decoration/text-decoration-offset-repaint-expected.html: Added.
3421         * fast/css3-text/css3-text-decoration/text-decoration-offset-repaint.html: Added.
3422         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-auto-expected.html: Added.
3423         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-auto.html: Added.
3424         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-length-expected.html: Added.
3425         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-length.html: Added.
3426         * fast/css3-text/css3-text-decoration/text-decoration-offset.html: Added.
3427         * fast/css3-text/css3-text-decoration/text-decoration-thickness-length-expected.html: Added.
3428         * fast/css3-text/css3-text-decoration/text-decoration-thickness-length.html: Added.
3429         * fast/css3-text/css3-text-decoration/text-decoration-thickness-repaint-expected.html: Added.
3430         * fast/css3-text/css3-text-decoration/text-decoration-thickness-repaint.html: Added.
3431
3432 2018-11-06  Dean Jackson  <dino@apple.com>
3433
3434         Add some basic pointer events tests
3435         https://bugs.webkit.org/show_bug.cgi?id=191336
3436         <rdar://problem/45858574>
3437
3438         Reviewed by Wenson Hsieh.
3439
3440         Generate some fake touches for pointer events testing.
3441
3442         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup-expected.txt: Added.
3443         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html: Added.
3444         * fast/events/pointer/ios/tap-gives-pointerdown-pointerup-expected.txt: Added.
3445         * fast/events/pointer/ios/tap-gives-pointerdown-pointerup.html: Added.
3446         * platform/ios/TestExpectations:
3447
3448 2018-11-06  Timothy Hatcher  <timothy@apple.com>
3449
3450         Skip css-dark-mode tests on older macOS platforms
3451         https://bugs.webkit.org/show_bug.cgi?id=191334
3452
3453         Reviewed by Brian Burg.
3454
3455         * platform/mac-highsierra/css-dark-mode/prefers-color-scheme-expected.txt: Removed.
3456         * platform/mac-highsierra/css-dark-mode/supported-color-schemes-expected.txt: Removed.
3457         * platform/mac-sierra/css-dark-mode/prefers-color-scheme-expected.txt: Removed.
3458         * platform/mac-sierra/css-dark-mode/supported-color-schemes-expected.txt: Removed.
3459         * platform/mac/TestExpectations: Skip css-dark-mode for Sierra and HighSierra.
3460
3461 2018-11-06  John Wilander  <wilander@apple.com>
3462
3463         Resource Load Statistics: Remove cap on partitioned cache max age if it matches a network reload (redirect-only)
3464         https://bugs.webkit.org/show_bug.cgi?id=189760
3465         <rdar://problem/44612242>
3466
3467         Reviewed by Youenn Fablet and Antti Koivisto.
3468
3469         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-expected.txt:
3470         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource.html:
3471             The test now performs:
3472             - an initial Fetch request with a permanent redirect to ID 1234. Capped max age.
3473             - a second Fetch request with a permanent redirect to ID 4321. Capped max age.
3474             - a third Fetch request with a permanent redirect to and empty ID. Capped max age.
3475             - a fourth Fetch request with a permanent redirect to and empty ID. Max age cap removed.
3476             - a fifth Fetch request with a permanent redirect to and empty ID. Regular cache hit.
3477         * http/tests/resourceLoadStatistics/resources/cached-permanent-redirect.php:
3478             Now returns an HTTP 500 if the request contains validation headers.
3479
3480 2018-11-06  Myles C. Maxfield  <mmaxfield@apple.com>
3481
3482         Spelling dots are drawn in the wrong place
3483         https://bugs.webkit.org/show_bug.cgi?id=190764
3484
3485         Reviewed by Dean Jackson.
3486
3487         * editing/spelling/resources/VerySmallDescentAhem.ttf: Added. In order to test repaint rects,
3488               this is a version of Ahem with a very small descent, so that the dots don't intersect
3489               with the text itself.
3490         * editing/spelling/spelling-dots-position-2-expected-mismatch.html: Added.
3491         * editing/spelling/spelling-dots-position-2.html: Added. Make sure dots are painted in the
3492               correct vertical place.
3493         * editing/spelling/spelling-dots-position-3-expected-mismatch.html: Added.
3494         * editing/spelling/spelling-dots-position-3.html: Added. Make sure dots are painted in the
3495               correct vertical place.
3496         * editing/spelling/spelling-dots-position-expected.html: Added.
3497         * editing/spelling/spelling-dots-position.html: Added. Make sure dots are not painted in
3498               the wrong place.
3499         * editing/spelling/spelling-dots-repaint-expected.html: Added.
3500         * editing/spelling/spelling-dots-repaint.html: Added. Test repaint by drawing an element
3501               with spelling dots, and then deleting the element from the document. The spelling
3502               dots should be removed too.
3503         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
3504         * fast/writing-mode/english-bt-text-with-spelling-marker.html: Update the test to compensate
3505               for new spelling dot positions.
3506