| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Improved targetting for small controls - bug 92293</ti
tle> | 4 <title>Touch Adjustment : Improved targetting for small controls - bug 92293</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 | 7 |
| 8 <style> | 8 <style> |
| 9 body { | 9 body { |
| 10 -webkit-margin-start: 20px; | 10 -webkit-margin-start: 20px; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 { | 145 { |
| 146 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 146 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 147 description('Tests if small clickable targets adjacent to larger cli
ckable controls are properly targetted with touch adjustment.'); | 147 description('Tests if small clickable targets adjacent to larger cli
ckable controls are properly targetted with touch adjustment.'); |
| 148 testDirectTouches(); | 148 testDirectTouches(); |
| 149 testIndirectTouches(); | 149 testIndirectTouches(); |
| 150 document.getElementById('sandbox').style.display = 'none'; | 150 document.getElementById('sandbox').style.display = 'none'; |
| 151 } | 151 } |
| 152 } | 152 } |
| 153 runTests(); | 153 runTests(); |
| 154 </script> | 154 </script> |
| 155 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 156 </body> | 155 </body> |
| 157 </html> | 156 </html> |
| OLD | NEW |