Home | History | Annotate | Download | only in script-tests

Lines Matching refs:lastEvent

7 var lastEvent = null;
13 lastEvent = event;
36 shouldBeEqualToString("lastEvent.type", type);
37 shouldBe("lastEvent.touches.length", totalTouchCount.toString());
38 shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
39 shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
40 shouldBe("lastEvent.pageX", "0");
41 shouldBe("lastEvent.pageY", "0");
46 shouldBe("lastEvent." + list + "[" + point + "].pageX", x.toString());
47 shouldBe("lastEvent." + list + "[" + point + "].pageY", y.toString());
48 shouldBe("lastEvent." + list + "[" + point + "].clientX", x.toString());
49 shouldBe("lastEvent." + list + "[" + point + "].clientY", y.toString());
50 shouldBe("lastEvent." + list + "[" + point + "].identifier", id.toString());
57 shouldBe("lastEvent.shiftKey", "false");
58 shouldBeEqualToString("lastEvent.touches[0].target.id", "touchtarget");
66 shouldBe("lastEvent.shiftKey", "true");
67 shouldBe("lastEvent.altKey", "true");
68 shouldBe("lastEvent.ctrlKey", "false");
69 shouldBe("lastEvent.metaKey", "false");
74 shouldBe("lastEvent.shiftKey", "false");
75 shouldBe("lastEvent.altKey", "false");
79 shouldBeEqualToString("lastEvent.targetTouches[0].target.tagName", "DIV");
83 shouldBeEqualToString("lastEvent.touches[0].target.tagName", "DIV");
122 lastEvent = null;
126 lastEvent = null;