OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Touch Adjustment : Adjust correctly for scroll offset - bug 86205</ti
tle> | 4 <title>Touch Adjustment : Adjust correctly for scroll offset - bug 86205</ti
tle> |
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 #scrolloffsetcontainer { | 8 #scrolloffsetcontainer { |
9 position: absolute; | 9 position: absolute; |
10 top: 500px; | 10 top: 500px; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 description('Test touch adjustment when main frame is scroll offset.
'); | 74 description('Test touch adjustment when main frame is scroll offset.
'); |
75 window.scrollBy(0,400); | 75 window.scrollBy(0,400); |
76 testDirectTouches(); | 76 testDirectTouches(); |
77 testAdjustedTouches(); | 77 testAdjustedTouches(); |
78 e.scrolloffsetcontainer.style.display = 'none'; | 78 e.scrolloffsetcontainer.style.display = 'none'; |
79 } | 79 } |
80 } | 80 } |
81 runTests(); | 81 runTests(); |
82 </script> | 82 </script> |
83 | 83 |
84 <script src="../fast/js/resources/js-test-post.js"></script> | |
85 | 84 |
86 </body> | 85 </body> |
87 </html> | 86 </html> |
OLD | NEW |