3 <script src="../../fast/js/resources/js-test-pre.js"></script>
8 <input type="button" value="button" id="buttonControl">
9 <input type="text" value="text" id="textControl">
10 <textarea value="textarea" id="textareaControl"></textarea>
11 <div id="block">This is clickable summary text</div>
18 var control = document.getElementById(id);
19 var x = control.offsetLeft;
20 var y = control.offsetTop;
22 eventSender.mouseMoveTo(x + delta, y + delta);
23 eventSender.mouseDown();
24 eventSender.mouseUp();
27 if (window.eventSender) {
28 details = document.getElementById("d");
29 shouldBeFalse("details.open");
30 clickOn("buttonControl");
31 shouldBeFalse("details.open");
32 clickOn("textControl");
33 shouldBeFalse("details.open");
34 clickOn("textareaControl");
35 shouldBeFalse("details.open");
37 shouldBeTrue("details.open");
38 details.style.display = "none";