2 <body onload=
"parent.runTest()">
3 <div id='mydiv' style='width:
100px;height:
100px;position:absolute;top:
0px; left:
0px; background-color:blue;'
></div>
4 <script type='text/javascript'
>
5 var myDiv
= document
.getElementById('mydiv');
6 myDiv
.addEventListener('touchstart', function() { parent
.handleTouchstart(); }, false);
7 myDiv
.addEventListener('touchmove', function() { parent
.handleTouchmove(); }, false);
8 myDiv
.addEventListener('touchend', function() { parent
.testComplete(); }, false);