4 <script src=
"../../resources/js-test.js"></script>
5 <script src=
"resources/link-highlight-helper.js"></script>
6 <link rel=
"stylesheet" type=
"text/css" href=
"resources/link-highlight-style.css">
8 <body onload=
"runTest();">
9 <div class=
"opaqueHighlight" id=
"expectedHighlight" style=
"border-style: solid; cursor: pointer">
10 Click here to go
<a id=
"taptarget" href=
"#">there
</a>
17 var clientRect
= document
.getElementById("taptarget").getBoundingClientRect();
18 x
= (clientRect
.left
+ clientRect
.right
) / 2;
19 y
= (clientRect
.top
+ clientRect
.bottom
) / 2;
20 if (window
.testRunner
) {
21 testRunner
.dumpAsTextWithPixelResults();
22 testRunner
.waitUntilDone();
25 if (window
.eventSender
) {
26 eventSender
.gestureShowPress(x
, y
);
27 window
.setTimeout(function() { window
.testRunner
.notifyDone(); }, 0);
29 debug("This test requires DumpRenderTree.");