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 class="opaqueHighlight" id="targetDiv" style="position: relative; left: 50p
x; top: 50px; width: 50px; height: 50px; -webkit-box-shadow: 0px 4px 23px 5px rg
ba(0, 0, 0, 0.2); border-style: solid; border-width: 2px; cursor: Pointer"> | 9 <div class="opaqueHighlight" id="targetDiv" style="position: relative; left: 50p
x; top: 50px; width: 50px; height: 50px; -webkit-box-shadow: 0px 4px 23px 5px rg
ba(0, 0, 0, 0.2); border-style: solid; border-width: 2px; cursor: Pointer"> |
10 <br><center>Target</center><br> | 10 <br><center>Target</center><br> |
11 </div> | 11 </div> |
12 <div style="position: absolute; left: 10px; top: 250px; -webkit-transform: trans
lateZ(0);"> | 12 <div style="position: absolute; left: 10px; top: 250px; -webkit-transform: trans
lateZ(0);"> |
13 This test is successful if the box labelled "Target" has a green rectangle cente
red on it. | 13 This test is successful if the box labelled "Target" has a green rectangle cente
red on it. |
14 </div> | 14 </div> |
(...skipping 11 matching lines...) Expand all Loading... |
26 eventSender.gestureShowPress(x, y); | 26 eventSender.gestureShowPress(x, y); |
27 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0); | 27 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0); |
28 } else { | 28 } else { |
29 debug("This test requires DumpRenderTree."); | 29 debug("This test requires DumpRenderTree."); |
30 } | 30 } |
31 } | 31 } |
32 </script> | 32 </script> |
33 </script> | 33 </script> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |