Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: LayoutTests/fast/block/positioning/hittest-on-relative-positioned-children.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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="../../../resources/js-test.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;">
11 <div style="position: relative; left: 50px; width: 200px; border: solid 5px #f66 ;"> 11 <div style="position: relative; left: 50px; width: 200px; border: solid 5px #f66 ;">
12 first line<br> 12 first line<br>
13 second line<br> 13 second line<br>
14 third line<br> 14 third line<br>
15 </div> 15 </div>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 </body> 72 </body>
73 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698