| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Shadow DOM Element Search Cancel Button - bug 9189
4</title> | 4 <title>Touch Adjustment : Shadow DOM Element Search Cancel Button - bug 9189
4</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 input[type='search'] { | 8 input[type='search'] { |
| 9 -webkit-appearance: none; | 9 -webkit-appearance: none; |
| 10 -webkit-box-sizing: border-box; | 10 -webkit-box-sizing: border-box; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 function runTests() | 111 function runTests() |
| 112 { | 112 { |
| 113 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 113 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 114 description('Test touch adjustment on a search field with a visible
cancel button.'); | 114 description('Test touch adjustment on a search field with a visible
cancel button.'); |
| 115 runTouchTests(); | 115 runTouchTests(); |
| 116 } | 116 } |
| 117 } | 117 } |
| 118 runTests(); | 118 runTests(); |
| 119 </script> | 119 </script> |
| 120 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 121 </body> | 120 </body> |
| 122 </html> | 121 </html> |
| OLD | NEW |