Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-imagemap-expected.html
bloba0cbee0bbba58948cc8cebbaa3c55a164116b3e1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body onload="runTest();">
7 <div style="transform: translateZ(0); position: relative;">
8 <div id="target" style="width: 320px; height: 240px; cursor: pointer; -webkit-tap-highlight-color: rgb(0, 255, 0)">
9 <div id="target" style="width: 320px; height: 240px; "></div>
10 </div>
11 </div>
12 <script>
13 function runTest() {
14 var clientRect = document.getElementById('target').getBoundingClientRect();
15 x = (clientRect.left + clientRect.right) / 2;
16 y = (clientRect.top + clientRect.bottom) / 2;
17 if (window.testRunner) {
18 testRunner.dumpAsTextWithPixelResults();
19 testRunner.waitUntilDone();
22 if (window.eventSender) {
23 eventSender.gestureShowPress(x, y);
24 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
25 } else {
26 debug("This test requires DumpRenderTree.");
27 debug("This test is successful if we don't cause a crash. TODO: Make link highlight work on image maps");
30 </script>
31 </script>
32 </body>
33 </html>