OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p id="description">This tests hit testing on relative positioned children. To m
anually test, select text by a mouse drag | 8 <p id="description">This tests hit testing on relative positioned children. To m
anually test, select text by a mouse drag |
9 starting in the blue box but outside red boxes and ending inside a red box.</p> | 9 starting in the blue box but outside red boxes and ending inside a red box.</p> |
10 <div id="tests" style="margin-bottom: 200px; width: 300px; border: solid 5px #cc
f;"> | 10 <div id="tests" style="margin-bottom: 200px; width: 300px; border: solid 5px #cc
f;"> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 if (window.testRunner) { | 64 if (window.testRunner) { |
65 var tests = document.getElementById('tests').getElementsByTagName('div'); | 65 var tests = document.getElementById('tests').getElementsByTagName('div'); |
66 for (var i = 0; i < tests.length; i++) | 66 for (var i = 0; i < tests.length; i++) |
67 runTest("box " + (i + 1), tests[i]); | 67 runTest("box " + (i + 1), tests[i]); |
68 document.getElementById('tests').style.display = 'none'; | 68 document.getElementById('tests').style.display = 'none'; |
69 } | 69 } |
70 | 70 |
71 </script> | 71 </script> |
72 <script src="../../js/resources/js-test-post.js"></script> | |
73 </body> | 72 </body> |
74 </html> | 73 </html> |
OLD | NEW |