3 .hidden { position: relative; overflow: hidden; width:
40px; height:
20px; }
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;">
11 <p id=
"description"></p>
12 <div id=
"console"></div>
13 <script src=
"../../../../resources/js-test.js"></script>
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
);