Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-simple-window-scroll-expected.html
blob64bcfb3af77f25a7477d03a0f70480440cd0ffef
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
6 </head>
7 <body onload="runTest();">
8 <div style="transform: translateZ(0); width=1600px; height: 1000px">
9 <div style="position: relative; left: 100; top: 50;">
10 <a href="">Link 1</a></br>
11 <a href="">Link 2</a></br>
12 <a href="">Link 3</a></br>
13 <a class="fauxHighlight" href="" id="targetLink">Target Link</a>
14 </div>
15 <div style="position: relative; left: 100; top: 150; width: 700;">
16 This test is successful if "Target Link" above is covered in a green rectangle with square corners,
17 and the window is partially scrolled in both directions.
18 </div>
19 </div>
20 <div style="width: 1000px; height: 10px"></div>
21 <script>
22 function runTest() {
23 var clientRect = document.getElementById('targetLink').getBoundingClientRect();
24 x = (clientRect.left + clientRect.right) / 2;
25 y = (clientRect.top + clientRect.bottom) / 2;
26 if (window.testRunner) {
27 testRunner.dumpAsTextWithPixelResults();
28 testRunner.waitUntilDone();
31 if (window.eventSender) {
32 //window.scrollTo(50, 30)
33 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
34 } else {
35 debug("This test requires DumpRenderTree.");
38 </script>
39 </script>
40 </body>
41 </html>