chromium/third_party/blink/web_tests/fast/events/touch/resources/emulated-touch-iframe2.html

<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>