Limit user-agent interactions based on the touch-action property on iOS
[WebKit-https.git] / LayoutTests / ChangeLog
index 2e7fdd5..4dc94e8 100644 (file)
@@ -1,3 +1,323 @@
+2019-01-28  Antoine Quint  <graouts@apple.com>
+
+        Limit user-agent interactions based on the touch-action property on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=193447
+        <rdar://problem/47283874>
+
+        Reviewed by Antti Koivisto and Simon Fraser.
+
+        Add a new series of tests that check that the "none", "pan-x", "pan-y" and "pinch-zoom" values have the expected
+        impact on page panning on iOS.
+
+        * pointerevents/ios/touch-action-none-expected.txt: Added.
+        * pointerevents/ios/touch-action-none-in-overflow-scrolling-touch-expected.txt: Added.
+        * pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html: Added.
+        * pointerevents/ios/touch-action-none-on-iframe-expected.txt: Added.
+        * pointerevents/ios/touch-action-none-on-iframe.html: Added.
+        * pointerevents/ios/touch-action-none-on-parent-expected.txt: Added.
+        * pointerevents/ios/touch-action-none-on-parent.html: Added.
+        * pointerevents/ios/touch-action-none.html: Added.
+        * pointerevents/ios/touch-action-pan-x-expected.txt: Added.
+        * pointerevents/ios/touch-action-pan-x-pan-y-expected.txt: Added.
+        * pointerevents/ios/touch-action-pan-x-pan-y.html: Added.
+        * pointerevents/ios/touch-action-pan-x.html: Added.
+        * pointerevents/ios/touch-action-pan-y-expected.txt: Added.
+        * pointerevents/ios/touch-action-pan-y.html: Added.
+        * pointerevents/ios/touch-action-pinch-zoom-allows-zooming-expected.txt: Added.
+        * pointerevents/ios/touch-action-pinch-zoom-allows-zooming.html: Added.
+        * pointerevents/ios/touch-action-pinch-zoom-prevents-scrolling-expected.txt: Added.
+        * pointerevents/ios/touch-action-pinch-zoom-prevents-scrolling.html: Added.
+
+2019-01-28  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        Web Inspector: Add Changes panel to Elements tab
+        https://bugs.webkit.org/show_bug.cgi?id=193803
+
+        Reviewed by Devin Rousso.
+
+        Test newly added Array.diffArrays.
+
+        * inspector/unit-tests/array-utilities-expected.txt:
+        * inspector/unit-tests/array-utilities.html:
+        Use the old `InspectorTest.log` method since it shows diffs for actual and expected text.
+
+2019-01-26  Simon Fraser  <simon.fraser@apple.com>
+
+        Have composited RenderIFrame layers make FrameHosting scrolling tree nodes to parent the iframe's scrolling node
+        https://bugs.webkit.org/show_bug.cgi?id=193879
+
+        Reviewed by Antti Koivisto.
+
+        New test results with FrameHosting nodes.
+
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/fixed-inside-frame-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt:
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/toggle-coordinated-frame-scrolling-expected.txt:
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt:
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt:
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt:
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt:
+        * scrollingcoordinator/scrolling-tree/fixed-inside-frame-expected.txt:
+        * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt:
+        * scrollingcoordinator/scrolling-tree/toggle-coordinated-frame-scrolling-expected.txt:
+
+2019-01-26  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: handle CSS Color 4 color syntaxes
+        https://bugs.webkit.org/show_bug.cgi?id=193166
+        <rdar://problem/47062403>
+
+        Reviewed by Simon Fraser.
+
+        * inspector/model/color.html:
+        * inspector/model/color-expected.txt:
+
+2019-01-26  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: provide a way to edit the user agent of a remote target
+        https://bugs.webkit.org/show_bug.cgi?id=193862
+        <rdar://problem/47359292>
+
+        Reviewed by Joseph Pecoraro.
+
+        * inspector/page/overrideUserAgent.html: Added.
+        * inspector/page/overrideUserAgent-expected.txt: Added.
+
+2019-01-26  Simon Fraser  <simon.fraser@apple.com>
+
+        Move scrolling-tree/fixed-inside-frame.html into scrolling tree tests
+        https://bugs.webkit.org/show_bug.cgi?id=193871
+
+        Reviewed by Zalan Bujtas.
+
+        Move another test into scrollingcoordinator/scrolling-tree, and now that it runs on iOS,
+        add iOS results.
+
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/fixed-inside-frame-expected.txt: Copied from LayoutTests/tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt.
+        * scrollingcoordinator/scrolling-tree/fixed-inside-frame-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt.
+        * scrollingcoordinator/scrolling-tree/fixed-inside-frame.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/fixed-inside-frame.html.
+        * scrollingcoordinator/scrolling-tree/resources/autoscrolling-frame-with-fixed.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/resources/autoscrolling-frame-with-fixed.html.
+
+2019-01-26  Zalan Bujtas  <zalan@apple.com>
+
+        [LFC] The default values for top/bottom in contentHeightForFormattingContextRoot should not be 0.
+        https://bugs.webkit.org/show_bug.cgi?id=193867
+
+        Reviewed by Antti Koivisto.
+
+        * fast/block/block-only/abs-pos-with-border-padding-and-float-child-expected.html: Added.
+        * fast/block/block-only/abs-pos-with-border-padding-and-float-child.html: Added.
+
+2019-01-26  Zalan Bujtas  <zalan@apple.com>
+
+        [LFC][BFC] Ignore last inflow child's collapsed through margin after when computing containing block's height.
+        https://bugs.webkit.org/show_bug.cgi?id=193865
+
+        Reviewed by Antti Koivisto.
+
+        * fast/block/margin-collapse/collapsed-through-child-simple-expected.html: Added.
+        * fast/block/margin-collapse/collapsed-through-child-simple.html: Added.
+
+2019-01-25  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: provide a way to edit page settings on a remote target
+        https://bugs.webkit.org/show_bug.cgi?id=193813
+        <rdar://problem/47359510>
+
+        Reviewed by Joseph Pecoraro.
+
+        * inspector/page/overrideSetting.html: Added.
+        * inspector/page/overrideSetting-expected.txt: Added.
+
+2019-01-25  Jer Noble  <jer.noble@apple.com>
+
+        <video> elements not in the DOM should be allowed to AirPlay
+        https://bugs.webkit.org/show_bug.cgi?id=193837
+
+        Reviewed by Eric Carlson.
+
+        * media/airplay-allows-buffering-expected.txt: Added.
+        * media/airplay-allows-buffering.html: Added.
+        * platform/ios/TestExpectations:
+
+2019-01-25  Simon Fraser  <simon.fraser@apple.com>
+
+        Fix failing scrollingcoordinator/scrolling-tree/remove-scrolling-role.html
+
+        Test needed different macOS and iOS results. Added window.internals.settings.setAsyncOverflowScrollingEnabled(true)
+        so the test uses async overflow scrolling in the macOS result.
+
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt.
+        * scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt:
+        * scrollingcoordinator/scrolling-tree/remove-scrolling-role.html:
+
+2019-01-25  Simon Fraser  <simon.fraser@apple.com>
+
+        Add a scrolling tree test that toggles scrollability on an intermediate iframe
+        https://bugs.webkit.org/show_bug.cgi?id=193849
+
+        Reviewed by Dean Jackson.
+
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/toggle-coordinated-frame-scrolling-expected.txt: Added.
+        * scrollingcoordinator/scrolling-tree/resources/scroll-toggling-frame.html: Added.
+        * scrollingcoordinator/scrolling-tree/toggle-coordinated-frame-scrolling-expected.txt: Added.
+        * scrollingcoordinator/scrolling-tree/toggle-coordinated-frame-scrolling.html: Added.
+
+2019-01-25  Truitt Savell  <tsavell@apple.com>
+
+        Remove expectation for inspector/css/createStyleSheet.html as test appears to be passing. 
+        https://bugs.webkit.org/show_bug.cgi?id=148636
+
+        Unreviewed test gardening.
+
+        * platform/mac/TestExpectations:
+
+2019-01-25  Chris Dumez  <cdumez@apple.com>
+
+        [iOS] Add support for the download attribute
+        https://bugs.webkit.org/show_bug.cgi?id=167341
+        <rdar://problem/30296281>
+
+        Reviewed by Geoffrey Garen.
+
+        Make download attribute layout tests iOS-friendly and unskip them now that they pass.
+
+        * fast/dom/HTMLAnchorElement/anchor-download-unset.html:
+        * fast/dom/HTMLAnchorElement/anchor-download-user-triggered-synthetic-click.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-async-delegate.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-base-target-popup-not-allowed.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-popup-not-allowed.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-doublequote.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-slashes.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-unicode.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download-no-extension.html:
+        * fast/dom/HTMLAnchorElement/anchor-file-blob-download.html:
+        * fast/dom/HTMLAnchorElement/anchor-nodownload-set.html:
+        * fast/dom/HTMLAnchorElement/anchor-nodownload.html:
+        * http/tests/download/anchor-download-attribute-content-disposition.html:
+        * http/tests/download/anchor-download-no-extension.html:
+        * http/tests/download/anchor-download-no-value.html:
+        * http/tests/download/anchor-download-redirect.html:
+        * http/tests/download/area-download.html:
+        * http/tests/download/convert-cached-load-to-download.html:
+        * http/tests/security/anchor-download-allow-blob.html:
+        * http/tests/security/anchor-download-allow-data.html:
+        * http/tests/security/anchor-download-allow-sameorigin.html:
+        * http/tests/security/anchor-download-block-crossorigin-expected.txt:
+        * http/tests/security/anchor-download-block-crossorigin.html:
+        * platform/ios-wk2/TestExpectations:
+        * platform/ios-wk2/http/tests/security/anchor-download-block-crossorigin-expected.txt: Copied from LayoutTests/http/tests/security/anchor-download-block-crossorigin-expected.txt.
+
+2019-01-25  Shawn Roberts  <sroberts@apple.com>
+
+        [ iOS Simulator Release ] Layout Test fast/animation/request-animation-frame.html is a flaky failure.
+        https://bugs.webkit.org/show_bug.cgi?id=190888
+
+        Unreviewed test gardening.
+
+        * platform/ios-wk2/TestExpectations:
+
+2019-01-25  Daniel Bates  <dabates@apple.com>
+
+        [iOS] uiController.keyDown() does not translate Control modified key
+        https://bugs.webkit.org/show_bug.cgi?id=192898
+
+        Reviewed by Wenson Hsieh.
+
+        Make tests more robusts.
+
+        * fast/events/ios/key-command-italic-dispatches-keydown.html: Remove the need to special-case the test runner and
+        expect a single key event that represents Command + I. Now that uiController.keyDown() makes use of HIDEventGenerator
+        we emit separate key events for each key pressed in the sequence: keydown Command, keydown i, keyup i, keyup Command.
+        This matches how a human being would execute such a key sequence.
+        * fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible-expected.html:
+        Make the test less flaky by hiding the tap highlight. Depending on timing, the tap highlight may be snapshotted and thus
+        cause the reference test to mismatch the test. Mitigate this by hiding the tap highlight.
+        * fast/text/scroll-text-overflow-ellipsis.html: Wait for a keyup event for the down arrow before declaring the
+        test complete.
+
+2019-01-25  Simon Fraser  <simon.fraser@apple.com>
+
+        Move more scrolling tree tests into scrollingcoordinator/scrolling-tree
+        https://bugs.webkit.org/show_bug.cgi?id=193845
+
+        Reviewed by Tim Horton.
+
+        Gather more tests of the scrolling tree into scrollingcoordinator/scrolling-tree.
+
+        * platform/gtk/TestExpectations:
+        * platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Removed.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt: Added.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt: Copied from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt: Added.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt: Added.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt: Renamed from LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt: Renamed from LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+        * platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Removed.
+        * platform/win/TestExpectations:
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html.
+        * scrollingcoordinator/scrolling-tree/coordinated-frame.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html.
+        * scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt.
+        * scrollingcoordinator/scrolling-tree/remove-coordinated-frame.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html.
+        * scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: Renamed from LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt.
+        * scrollingcoordinator/scrolling-tree/remove-scrolling-role.html: Renamed from LayoutTests/fast/scrolling/ios/remove-scrolling-role.html.
+        * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html.
+        * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt: Renamed from LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+        * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html: Renamed from LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html.
+
+2019-01-25  Simon Fraser  <simon.fraser@apple.com>
+
+        Move tests for scrolling tree mutations into their own directory
+        https://bugs.webkit.org/show_bug.cgi?id=193836
+
+        Reviewed by Tim Horton.
+
+        Add a scrollingcoordinator/scrolling-tree directory, which will contain tests for scrolling
+        tree mutations.
+
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent-expected.txt: Renamed from LayoutTests/platform/ios/scrollingcoordinator/gain-scrolling-node-parent-expected.txt.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent-expected.txt: Renamed from LayoutTests/platform/ios/scrollingcoordinator/lose-scrolling-node-parent-expected.txt.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers-expected.txt: Renamed from LayoutTests/platform/ios-wk2/scrollingcoordinator/reparent-across-compositing-layers-expected.txt.
+        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/reparent-with-layer-removal-expected.txt: Renamed from LayoutTests/platform/ios-wk2/scrollingcoordinator/reparent-with-layer-removal-expected.txt.
+        * scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent-expected.txt: Renamed from LayoutTests/scrollingcoordinator/gain-scrolling-node-parent-expected.txt.
+        * scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent.html: Renamed from LayoutTests/scrollingcoordinator/gain-scrolling-node-parent.html.
+        * scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent-expected.txt: Renamed from LayoutTests/scrollingcoordinator/lose-scrolling-node-parent-expected.txt.
+        * scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent.html: Renamed from LayoutTests/scrollingcoordinator/lose-scrolling-node-parent.html.
+        * scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers-expected.txt: Renamed from LayoutTests/scrollingcoordinator/reparent-across-compositing-layers-expected.txt.
+        * scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers.html: Renamed from LayoutTests/scrollingcoordinator/reparent-across-compositing-layers.html.
+        * scrollingcoordinator/scrolling-tree/reparent-with-layer-removal-expected.txt: Renamed from LayoutTests/scrollingcoordinator/reparent-with-layer-removal-expected.txt.
+        * scrollingcoordinator/scrolling-tree/reparent-with-layer-removal.html: Renamed from LayoutTests/scrollingcoordinator/reparent-with-layer-removal.html.
+
+2019-01-25  Ryosuke Niwa  <rniwa@webkit.org>
+
+        iOS: inputmode="none" disables hardware keyboard's globe key
+        https://bugs.webkit.org/show_bug.cgi?id=193811
+        <rdar://problem/47406553>
+
+        Reviewed by Wenson Hsieh.
+
+        Updated and renamed the test expecting the keyboard to update upon inputmode content attribute changed
+        to use inputmode="decimal" instead of inputmode="none", and updated another test to expect inputmode="none"
+        has no effect instead of hiding the keyboard.
+
+        * fast/forms/ios/inputmode-change-update-keyboard-expected.txt: Renamed from inputmode-none-removed-expected.txt.
+        * fast/forms/ios/inputmode-change-update-keyboard.html: Renamed from inputmode-none-removed.html.
+        * fast/forms/ios/inputmode-none-expected.txt:
+        * fast/forms/ios/inputmode-none.html:
+
 2019-01-25  Jonathan Bedard  <jbedard@apple.com>
 
         webkitpy: Implement device type specific expected results (Gardening)