Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-nested-cursor3.html
blobcc5b2f4925cb57fa3d9a1a26f6ac4fccd7529d50
1 <!DOCTYPE html>
2 <html>
3 <head>
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">
7 </head>
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>
11 </div>
13 <script>
14 function runTest() {
15 useMockHighlight();
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);
28 } else {
29 debug("This test requires DumpRenderTree.");
32 </script>
33 </body>
34 </html>