| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Too aggresive adjustments for large elements - bug
91262</title> | 4 <title>Touch Adjustment : Too aggresive adjustments for large elements - bug
91262</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 #targetDiv { | 8 #targetDiv { |
| 9 background: #00f; | 9 background: #00f; |
| 10 height: 400px; | 10 height: 400px; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 function runTests() | 77 function runTests() |
| 78 { | 78 { |
| 79 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 79 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 80 description('Test touch adjustment on a large div. The adjusted tou
ch point should lie inside the target element and within the touch area.'); | 80 description('Test touch adjustment on a large div. The adjusted tou
ch point should lie inside the target element and within the touch area.'); |
| 81 runTouchTests(); | 81 runTouchTests(); |
| 82 } | 82 } |
| 83 } | 83 } |
| 84 runTests(); | 84 runTests(); |
| 85 </script> | 85 </script> |
| 86 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 87 </body> | 86 </body> |
| 88 </html> | 87 </html> |
| OLD | NEW |