Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-simple-scaled-document-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/link-highlight-helper.js"></script>
5 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
6 <style>
7 ::-webkit-scrollbar {
8     width: 0px;
9     height: 0px;
10 }
11 </style>
12 </head>
13 <body onload="runTest();">
14 <div style="position: relative; left: 10; top: 40">
15 <a href="" id="targetLink" class="activeLink">Target Link.</a>
16 </div>
17 <div style="transform: translateZ(0); position: relative; left: 10; top: 70">
18 This test is successful if "Target Link" above is covered in a green rectangle with square corners.
19 </div>
20 <script>
21 function runTest() {
22     if (window.eventSender) {
23         window.eventSender.setPageScaleFactor(2, 0, 0);
24     }else{
25         debug("This test requires DumpRenderTree.");
26     }
27
28     createCompositedHighlight(document.getElementById('targetLink'));
29 }
30 </script>
31 </script>
32 </body>
33 </html>