OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Touch Adjustment : Touch adjustment does not target shadow DOM elemen
ts - bug 89556</title> | 4 <title>Touch Adjustment : Touch adjustment does not target shadow DOM elemen
ts - bug 89556</title> |
5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../resources/js-test.js"></script> |
6 <style> | 6 <style> |
7 #targetDiv { | 7 #targetDiv { |
8 background: #00f; | 8 background: #00f; |
9 height: 100px; | 9 height: 100px; |
10 position: relative; | 10 position: relative; |
11 width: 100px; | 11 width: 100px; |
12 } | 12 } |
13 </style> | 13 </style> |
14 | 14 |
15 </head> | 15 </head> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode && internals.ensureShadowRoot) { | 94 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode && internals.ensureShadowRoot) { |
95 description('Test the case where a clickable target contains a shado
w-DOM element. The adjusted point should snap to the location of the shadow-DOM
element if close enough to the original touch position.') | 95 description('Test the case where a clickable target contains a shado
w-DOM element. The adjusted point should snap to the location of the shadow-DOM
element if close enough to the original touch position.') |
96 addShadowDOM(); | 96 addShadowDOM(); |
97 runTouchTests(); | 97 runTouchTests(); |
98 } | 98 } |
99 } | 99 } |
100 runTests(); | 100 runTests(); |
101 </script> | 101 </script> |
102 </body> | 102 </body> |
103 </html> | 103 </html> |
OLD | NEW |