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 | |
72 testElement(0); | 69 testElement(0); |
73 testElement(1); | 70 testElement(1); |
74 testElement(2); | 71 testElement(2); |
75 testElement(3); | 72 testElement(3); |
76 | 73 |
77 writeLog(error ? "FAIL" : "PASS"); | 74 writeLog(error ? "FAIL" : "PASS"); |
78 } | 75 } |
79 | 76 |
80 </script> | 77 </script> |
81 | 78 |
(...skipping 15 matching lines...) Expand all Loading... |
97 | 94 |
98 <div style="-webkit-writing-mode:vertical-rl;"> | 95 <div style="-webkit-writing-mode:vertical-rl;"> |
99 <details id="details3"><input></details> | 96 <details id="details3"><input></details> |
100 </div> | 97 </div> |
101 | 98 |
102 <div id="results"> | 99 <div id="results"> |
103 </div> | 100 </div> |
104 | 101 |
105 </body> | 102 </body> |
106 | 103 |
OLD | NEW |