blob: 6c5c0c94bb132a095d6fc6dd19a9f4add7b40ac1 [file] [log] [blame]
<html>
<body onload="parent.runTest()">
<div id='mydiv' style='width:100px;height:100px;position:absolute;top:0px; left:0px; background-color:blue;'></div>
<script type='text/javascript'>
var myDiv = document.getElementById('mydiv');
myDiv.addEventListener('touchstart', function() { parent.handleTouchstart(); }, false);
myDiv.addEventListener('touchmove', function() { parent.handleTouchmove(); }, false);
myDiv.addEventListener('touchend', function() { parent.testComplete(); }, false);
</script>
</body>
</html>