OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Touch Adjustment : HTML Label and form fields - bug 78801</title> | 4 <title>Touch Adjustment : HTML Label and form fields - bug 78801</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 { | 8 #sandbox { |
9 position: absolute; | 9 position: absolute; |
10 left: 0px; | 10 left: 0px; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 { | 77 { |
78 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 78 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
79 description('Tests if labels are treated as clickable if the input t
hey control is.'); | 79 description('Tests if labels are treated as clickable if the input t
hey control is.'); |
80 testDirectTouches(); | 80 testDirectTouches(); |
81 testIndirectTouches(); | 81 testIndirectTouches(); |
82 e.sandbox.style.display = 'none'; | 82 e.sandbox.style.display = 'none'; |
83 } | 83 } |
84 } | 84 } |
85 runTests(); | 85 runTests(); |
86 </script> | 86 </script> |
87 <script src="../fast/js/resources/js-test-post.js"></script> | |
88 </body> | 87 </body> |
89 </html> | 88 </html> |
OLD | NEW |