2 <script src="../../js/resources/js-test-pre.js"></script>
3 <style type="text/css">
15 <body onload="runTest();">
16 <div id="box" ontouchstart="testComplete();">FAIL</div>
18 <p id="description"></p>
19 <div id="console"></div>
21 <script type="text/javascript">
22 description('Test touches set the active state.');
24 function testComplete(event)
26 isSuccessfullyParsed();
27 layoutTestController.notifyDone();
32 if (window.eventSender) {
33 // Touch the center of the div.
34 eventSender.addTouchPoint(50, 50);
35 eventSender.touchStart();
37 debug('This test requires DRT.');
40 if (window.layoutTestController)
41 layoutTestController.waitUntilDone();