OLD | NEW |
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="green" style="background-color:green;"> | 12 <div id="green" class="box" style="background-color:green;"> |
17 </div> | 13 </div> |
18 </div> | 14 </div> |
19 | 15 |
20 <div id="console"></div> | 16 <div id="console"></div> |
21 | 17 |
22 <script> | 18 <script> |
23 description("Verifies that pointerenter/leave/over/out are fired correctly for c
orreponding mouse events."); | 19 description("Verifies that pointerenter/leave/over/out are fired correctly for c
orreponding mouse events."); |
24 | 20 |
25 function phaseString(eventPhase) { | 21 function phaseString(eventPhase) { |
26 if (eventPhase == Event.NONE) | 22 if (eventPhase == Event.NONE) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 eventSender.mouseMoveTo(x1, y1); | 64 eventSender.mouseMoveTo(x1, y1); |
69 } | 65 } |
70 | 66 |
71 init(); | 67 init(); |
72 if (window.eventSender) | 68 if (window.eventSender) |
73 runTests(); | 69 runTests(); |
74 else | 70 else |
75 debug("This test requires eventSender"); | 71 debug("This test requires eventSender"); |
76 | 72 |
77 </script> | 73 </script> |
OLD | NEW |