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="../resources/js-test.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; |
11 border: 1px solid #999; | 11 border: 1px solid #999; |
12 padding: 5px; | 12 padding: 5px; |
13 } | 13 } |
14 | 14 |
15 input[type='search']::-webkit-search-cancel-button { | 15 input[type='search']::-webkit-search-cancel-button { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 120 </body> |
121 </html> | 121 </html> |
OLD | NEW |