OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="resources/target-div-run-test.js"></script> | 5 <script src="resources/target-div-run-test.js"></script> |
6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"
> | 6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"
> |
7 </head> | 7 </head> |
8 <body onload="runTest();"> | 8 <body onload="runTest();"> |
9 <div id="highlight" class="fauxHighlight" style="z-index: 1; position: absolute;
"></div> | 9 <div id="highlight" class="fauxHighlight" style="z-index: 1; position: absolute;
"></div> |
10 <div style="top: 10px; left: 10px; -webkit-transform: translateZ(0);"> | 10 <div style="top: 10px; left: 10px; -webkit-transform: translateZ(0);"> |
11 <div id="targetDiv" style="position: static; left: 50px; top: 50px; width: 50px;
height: 50px; box-shadow: 0px 4px 23px 5px rgba(0, 0, 0, 0.2); border-style: so
lid; border-width: 2px;"> | 11 <div id="targetDiv" style="position: static; left: 50px; top: 50px; width: 50px;
height: 50px; box-shadow: 0px 4px 23px 5px rgba(0, 0, 0, 0.2); border-style: so
lid; border-width: 2px;"> |
12 <br><center>Target</center><br> | 12 <br><center>Target</center><br> |
13 </div> | 13 </div> |
14 </div> | 14 </div> |
(...skipping 10 matching lines...) Expand all Loading... |
25 highlight.style.width = clientRect.width + "px"; | 25 highlight.style.width = clientRect.width + "px"; |
26 highlight.style.height = clientRect.height + "px"; | 26 highlight.style.height = clientRect.height + "px"; |
27 | 27 |
28 if (window.testRunner) | 28 if (window.testRunner) |
29 testRunner.dumpAsTextWithPixelResults(); | 29 testRunner.dumpAsTextWithPixelResults(); |
30 } | 30 } |
31 </script> | 31 </script> |
32 </script> | 32 </script> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |