OLD | NEW |
1 | 1 |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 body { | 4 body { |
5 margin: 0px; | 5 margin: 0px; |
6 } | 6 } |
7 div { | 7 div { |
8 width:200px; | 8 width:200px; |
9 height:80px; | 9 height:80px; |
10 } | 10 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 clickElement(element); | 59 clickElement(element); |
60 }; | 60 }; |
61 | 61 |
62 var runTests = function () { | 62 var runTests = function () { |
63 | 63 |
64 if (!window.testRunner || !window.eventSender) | 64 if (!window.testRunner || !window.eventSender) |
65 return; | 65 return; |
66 | 66 |
67 testRunner.dumpAsText(); | 67 testRunner.dumpAsText(); |
68 | 68 |
| 69 // Mouse events only work after an initial layout |
| 70 document.body.offsetLeft; |
| 71 |
69 testElement(0); | 72 testElement(0); |
70 testElement(1); | 73 testElement(1); |
71 testElement(2); | 74 testElement(2); |
72 testElement(3); | 75 testElement(3); |
73 | 76 |
74 writeLog(error ? "FAIL" : "PASS"); | 77 writeLog(error ? "FAIL" : "PASS"); |
75 } | 78 } |
76 | 79 |
77 </script> | 80 </script> |
78 | 81 |
(...skipping 15 matching lines...) Expand all Loading... |
94 | 97 |
95 <div style="-webkit-writing-mode:vertical-rl;"> | 98 <div style="-webkit-writing-mode:vertical-rl;"> |
96 <details id="details3"><input></details> | 99 <details id="details3"><input></details> |
97 </div> | 100 </div> |
98 | 101 |
99 <div id="results"> | 102 <div id="results"> |
100 </div> | 103 </div> |
101 | 104 |
102 </body> | 105 </body> |
103 | 106 |
OLD | NEW |