| 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="../fast/js/resources/js-test-pre.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; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 function runTests() | 92 function runTests() |
| 93 { | 93 { |
| 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 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 103 </body> | 102 </body> |
| 104 </html> | 103 </html> |
| OLD | NEW |