OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Touch Adjustment: bug 82044</title> | 4 <title>Touch Adjustment: bug 82044</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 #sandbox { position: absolute; left: 0px; top: 0px; width: 400px; height
: 200px; } | 8 #sandbox { position: absolute; left: 0px; top: 0px; width: 400px; height
: 200px; } |
9 #div1 { position: absolute; left: 50px; top: 50px; width: 200px; height:
50px;} | 9 #div1 { position: absolute; left: 50px; top: 50px; width: 200px; height:
50px;} |
10 #div2 { position: absolute; left: 50px; top: 100px; width: 200px; height
: 50px;} | 10 #div2 { position: absolute; left: 50px; top: 100px; width: 200px; height
: 50px;} |
(...skipping 25 matching lines...) Expand all Loading... |
36 function runTests() | 36 function runTests() |
37 { | 37 { |
38 if (window.testRunner && window.internals && internals.touchNodeAdju
stedToBestClickableNode) { | 38 if (window.testRunner && window.internals && internals.touchNodeAdju
stedToBestClickableNode) { |
39 description('Test touch-adjustment on a block where we also touc
h the inner text and outside link.'); | 39 description('Test touch-adjustment on a block where we also touc
h the inner text and outside link.'); |
40 testDirectTouches(); | 40 testDirectTouches(); |
41 document.getElementById('sandbox').style.display = 'none'; | 41 document.getElementById('sandbox').style.display = 'none'; |
42 } | 42 } |
43 } | 43 } |
44 runTests(); | 44 runTests(); |
45 </script> | 45 </script> |
46 <script src="../fast/js/resources/js-test-post.js"></script> | |
47 </body> | 46 </body> |
48 </html> | 47 </html> |
OLD | NEW |