Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-simple-scaledY.html
blob6b9855afec57d3d2abe52d4b09736a4a891af57a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
5 <script src="resources/link-highlight-helper.js"></script>
6 <script src="../../resources/js-test.js"></script>
7 </head>
8 <body onload="runTest();">
9 <div style="transform: scaleY(2.5); position: absolute; left: 40px; top: 80px;">
10 <a href="" id="link1">Link 1</a></br>
11 <a class="opaqueHighlight" href="" id="targetLink">Target Link.</a><br>
12 <a href="" id="link2">Link 2</a>
13 </div>
14 </div>
15 <div style="position: relative; left: 10px; top: 200px; transform: translateZ(0);">
16 This test is successful if "Target Link" above is covered in a green rectangle with square corners.
17 </div>
18 <script>
19 function runTest() {
20 useMockHighlight();
22 var clientRect = document.getElementById('targetLink').getBoundingClientRect();
23 x = (clientRect.left + clientRect.right) / 2;
24 y = (clientRect.top + clientRect.bottom) / 2;
25 if (window.testRunner) {
26 testRunner.dumpAsTextWithPixelResults();
27 testRunner.waitUntilDone();
30 if (window.eventSender) {
31 eventSender.gestureShowPress(x, y);
32 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
33 } else {
34 debug("This test requires DumpRenderTree.");
37 </script>
38 </script>
39 </body>
40 </html>