OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Touch Adjustment : Correct for frame positions - bug 82043</title> | 4 <title>Touch Adjustment : Correct for frame positions - bug 82043</title> |
5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../fast/js/resources/js-test-pre.js"></script> |
6 <style> | 6 <style> |
7 #myframe { position: absolute; left: 200px; top: 100px; width: 400px; he
ight: 300px;} | 7 #myframe { position: absolute; left: 200px; top: 100px; width: 400px; he
ight: 300px;} |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body onload="runTests()"> | 10 <body onload="runTests()"> |
(...skipping 29 matching lines...) Expand all Loading... |
40 function runTests() | 40 function runTests() |
41 { | 41 { |
42 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 42 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
43 description('Test touch-adjustment on links in an iframe. Making sur
e we iframe position is correctly adjusted for.'); | 43 description('Test touch-adjustment on links in an iframe. Making sur
e we iframe position is correctly adjusted for.'); |
44 testDirectTouches(); | 44 testDirectTouches(); |
45 finishJSTest(); | 45 finishJSTest(); |
46 } | 46 } |
47 } | 47 } |
48 jsTestIsAsync = true; | 48 jsTestIsAsync = true; |
49 </script> | 49 </script> |
50 <script src="../fast/js/resources/js-test-post.js"></script> | |
51 </body> | 50 </body> |
52 </html> | 51 </html> |
OLD | NEW |