<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<script src="../../resources/js-test.js"></script> | |
<body> | |
<script src="script-tests/focus-event-input-device.js"></script> | |
<script type="text/javascript"> | |
description("Test that focus events from a touch device should have a sourceCapabilities and its firesTouchEvents should be true."); | |
function sendGestureTapEvent(x, y) { | |
if (window.eventSender) { | |
eventSender.gestureTap(x, y); | |
} | |
} | |
runFocusTestWithEventGenerator(sendGestureTapEvent, "true"); | |
</script> | |
</body> |