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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-frame-removed.html

Issue 429793004: Re-add extra hit-tests on GestureTap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix patch Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="../../../../resources/js-test.js"></script> 2 <script src="../../../../resources/js-test.js"></script>
3 <style> 3 <style>
4 #target { 4 #target {
5 width: 50px; 5 width: 50px;
6 height: 50px; 6 height: 50px;
7 } 7 }
8 </style> 8 </style>
9 <iframe id="target" src="resources/event-delegator.html"></iframe> 9 <iframe id="target" src="resources/event-delegator.html"></iframe>
10 <div id=console></div> 10 <div id=console></div>
(...skipping 29 matching lines...) Expand all
40 target.onload = function() { 40 target.onload = function() {
41 debug("Sending GestureTapDown"); 41 debug("Sending GestureTapDown");
42 eventSender.gestureTapDown(point.x, point.y); 42 eventSender.gestureTapDown(point.x, point.y);
43 43
44 debug("Sending GestureShowPress"); 44 debug("Sending GestureShowPress");
45 eventSender.gestureShowPress(point.x, point.y); 45 eventSender.gestureShowPress(point.x, point.y);
46 46
47 debug("Sending GestureTap"); 47 debug("Sending GestureTap");
48 eventSender.gestureTap(point.x, point.y); 48 eventSender.gestureTap(point.x, point.y);
49 49
50 shouldBeNull("document.getElementById('target')");
51
50 setTimeout(finishJSTest, 0); 52 setTimeout(finishJSTest, 0);
51 } 53 }
52 } else { 54 } else {
53 debug("This test requires eventSender"); 55 debug("This test requires eventSender");
54 } 56 }
55 </script> 57 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698