Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / gesture / gesture-click-on-inline-continations.html
blob47d1a0b1bdb0132e29e5e63682d581566b587adf
1 <!DOCTYPE html>
2 <style>
3 .hidden { position: relative; overflow: hidden; width: 40px; height: 20px; }
4 </style>
5 <a id="link" href="#">
6 <div class='hidden'></div>
7 <div class='hidden'></div>
8 <div><b><div><i><div></div><div></div></i></div></b></div>
9 <img src="resources/greenbox.png" style=" width:700px; height:280px;">
10 </a>
11 <p id="description"></p>
12 <div id="console"></div>
13 <script src="../../../../resources/js-test.js"></script>
14 <script>
15 jsTestIsAsync = true;
16 window.onload = function() {
17 description('The test succeeds if this does not hang or crash when getting the y conner\'s position from inline renderer.\n This test passes if it does not timeout.');
18 if (window.eventSender) {
19 var link = document.getElementById('link');
20 var tx = link.offsetLeft + 4;
21 var ty = link.offsetTop + 4;
23 link.addEventListener('click', function(e) { debug('PASS'); });
25 eventSender.gestureTapDown(tx, ty);
26 eventSender.gestureShowPress(tx, ty);
27 eventSender.gestureTap(tx, ty);
29 finishJSTest();
31 </script>