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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events.html

Issue 1391393002: Fire pointerup/down events for corresponding mouse events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skipped the failing test. Created 5 years, 1 month 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
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 div { 4 div.box {
5 margin: 10px; 5 margin: 10px;
6 padding: 50px; 6 padding: 50px;
7 float: left; 7 float: left;
8 } 8 }
9 #console {
10 padding: 0px;
11 float: none;
12 }
13 </style> 9 </style>
14 10
15 <div id="grey" style="background-color:grey"> 11 <div id="grey" class="box" style="background-color:grey">
16 <div id="lightgreen" style="background-color:lightgreen"> 12 <div id="lightgreen" class="box" style="background-color:lightgreen">
17 <div id="green" style="background-color:green;"> 13 <div id="green" class="box" style="background-color:green;">
18 </div> 14 </div>
19 </div> 15 </div>
20 <div id="lightblue" style="background-color:lightblue"> 16 <div id="lightblue" class="box" style="background-color:lightblue">
21 <div id="blue" style="background-color:blue;"> 17 <div id="blue" class="box" style="background-color:blue;">
22 </div> 18 </div>
23 </div> 19 </div>
24 </div> 20 </div>
25 21
26 <div id="console"></div> 22 <div id="console"></div>
27 23
28 <script> 24 <script>
29 25
30 description("Verifies that tapping on an element sends mouse events to appropria te ancestors of the tapped element in correct order."); 26 description("Verifies that tapping on an element sends mouse events to appropria te ancestors of the tapped element in correct order.");
31 27
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 sendGestureTap("lightblue"); 85 sendGestureTap("lightblue");
90 debug("--- Interleaved tap/mouse tests ---"); 86 debug("--- Interleaved tap/mouse tests ---");
91 sendMouseMove("lightgreen"); 87 sendMouseMove("lightgreen");
92 sendGestureTap("lightblue"); 88 sendGestureTap("lightblue");
93 sendMouseMove("lightgreen"); 89 sendMouseMove("lightgreen");
94 sendMouseMove("lightgreen"); 90 sendMouseMove("lightgreen");
95 } else { 91 } else {
96 debug("This test requires eventSender"); 92 debug("This test requires eventSender");
97 } 93 }
98 </script> 94 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698