Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/pointerevent_touch-action-pinch_zoom_touch.html

Issue 2410193003: Attempt to submit the click action directly in the pinch-zoom test. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/SlowTests ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <!-- This test should be integrated into web-platform-test when the pinch-zoom 3 <!-- This test should be integrated into web-platform-test when the pinch-zoom
4 is accepted into the specification. 4 is accepted into the specification.
5 See https://github.com/w3c/pointerevents/issues/29 --> 5 See https://github.com/w3c/pointerevents/issues/29 -->
6 <head> 6 <head>
7 <title>touch-action: pinch-zoom</title> 7 <title>touch-action: pinch-zoom</title>
8 <meta name="assert" content="TA15.4 - With `touch-action: pinch-zoom` on a swiped or click/dragged element, only pinch zoom and two finger pan should be possible."> 8 <meta name="assert" content="TA15.4 - With `touch-action: pinch-zoom` on a swiped or click/dragged element, only pinch zoom and two finger pan should be possible.">
9 <meta name="viewport" content="width=device-width"> 9 <meta name="viewport" content="width=device-width">
10 <link rel="stylesheet" type="text/css" href="../../../imported/wpt/point erevents/pointerevent_styles.css"> 10 <link rel="stylesheet" type="text/css" href="../../../imported/wpt/point erevents/pointerevent_styles.css">
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 <div id="complete-notice"> 111 <div id="complete-notice">
112 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p> 112 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p>
113 </div> 113 </div>
114 <div id="log"></div> 114 <div id="log"></div>
115 115
116 <script> 116 <script>
117 function inject_input() { 117 function inject_input() {
118 return touchScrollInTarget('#target0', 'down').then(function() { 118 return touchScrollInTarget('#target0', 'down').then(function() {
119 return pinchZoomInTarget('#target0', 3.0); 119 return pinchZoomInTarget('#target0', 3.0);
120 }).then(function() { 120 }).then(function() {
121 return touchTapInTarget('#btnComplete'); 121 document.getElementById("btnComplete").click();
122 }); 122 });
123 } 123 }
124 </script> 124 </script>
125 <script src='../../../imported/wpt_automation/pointerevents/pointerevent _common_input.js'></script> 125 <script src='../../../imported/wpt_automation/pointerevents/pointerevent _common_input.js'></script>
126 </body> 126 </body>
127 </html> 127 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/SlowTests ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698