OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test touch adjustment to a non-rectilinear element.</title> | 4 <title>Test touch adjustment to a non-rectilinear element.</title> |
5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../fast/js/resources/js-test-pre.js"></script> |
6 <script src="resources/touchadjustment.js"></script> | 6 <script src="resources/touchadjustment.js"></script> |
7 <style> | 7 <style> |
8 body { margin: 0px; padding: 0px; } | 8 body { margin: 0px; padding: 0px; } |
9 #container { | 9 #container { |
10 -webkit-box-sizing: border-box; | 10 -webkit-box-sizing: border-box; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 98 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
99 description(document.title); | 99 description(document.title); |
100 testDirectTouches(); | 100 testDirectTouches(); |
101 testAdjustedTouches(); | 101 testAdjustedTouches(); |
102 testAdjustedPoints() | 102 testAdjustedPoints() |
103 e.container.style.display = 'none'; | 103 e.container.style.display = 'none'; |
104 } | 104 } |
105 } | 105 } |
106 runTests(); | 106 runTests(); |
107 </script> | 107 </script> |
108 <script src="../fast/js/resources/js-test-post.js"></script> | |
109 | 108 |
110 </body> | 109 </body> |
111 </html> | 110 </html> |
OLD | NEW |