7 transform: rotate(
90deg);
13 <embed id=
"plugin" type=
"application/x-webkit-test-webplugin" accepts-touch=
"raw" print-event-details=
"true"></embed>
16 if (!window
.testRunner
|| !window
.eventSender
) {
17 document
.write("This test requires DumpRenderTree.");
19 testRunner
.dumpAsText();
22 var positionX
= plugin
.offsetLeft
+ plugin
.offsetWidth
- 10;
23 var positionY
= plugin
.offsetTop
+ 10;
24 eventSender
.addTouchPoint(positionX
, positionY
);
25 eventSender
.touchStart();
26 eventSender
.updateTouchPoint(0, positionX
- 5, positionY
+ 10);
27 eventSender
.touchMove();
28 eventSender
.releaseTouchPoint(0);
29 eventSender
.touchEnd();
32 eventSender
.mouseMoveTo(positionX
, positionY
);
33 eventSender
.mouseDown();
34 eventSender
.leapForward(10);
35 eventSender
.mouseMoveTo(positionX
- 5, positionY
+ 10);
36 eventSender
.mouseUp();
37 eventSender
.mouseMoveTo(positionX
, positionY
);
38 eventSender
.mouseScrollBy(10, 0);
40 // Test gesture events.
41 eventSender
.gestureShowPress(positionX
, positionY
);
42 eventSender
.gestureTap(positionX
, positionY
);