<html>
<body onload="parent.runTest()">
<style type='text/css'>
#container {
  height:1000px;
  width:1000px
}
#mydiv {
  top:300px; 
  left:100px; 
  width:100px;
  height:100px;
  position:absolute;
  background-color:blue;
}
</style>
<div id='container'>
<div id='mydiv'></div>
</div>
<script type='text/javascript'>
// Scroll so mydiv is at the top left
window.scrollTo(100,300);

document.getElementById('mydiv').addEventListener('touchstart', function(event) { 
  parent.testComplete(true, event);
  event.stopPropagation();
}, false);
</script>
</body>
</html>
