<html>
<head>
<style>
#plugin {
width: 150px;
height: 150px;
}
</style>
</head>
<body>
<embed id="plugin" type="application/x-webkit-test-webplugin" accepts-touch="raw" print-event-details="true"></embed>
<script>
if (!window.testRunner || !window.eventSender) {
document.write("This test does not work in manual mode.");
} else {
testRunner.dumpAsText();
var positionX = plugin.offsetLeft + 10;
var positionY = plugin.offsetTop + 10;
eventSender.addTouchPoint(positionX, positionY);
eventSender.touchStart();
eventSender.updateTouchPoint(0, positionX + 10, positionY + 5);
eventSender.touchMove();
eventSender.releaseTouchPoint(0);
eventSender.touchEnd();
}
</script>
</body>
</html>