blob: a3441e8625536991306dcaa3e137051289a8d81e [file] [log] [blame]
<html>
<head>
<title>Test controls on transformed video</title>
<style type="text/css" media="screen">
video {
margin: 50px;
-webkit-transform: rotate(20deg);
}
</style>
</head>
<body>
<video controls></video>
<p>Test controls on transformed video.</p>
<p>This test only runs in DRT!</p>
<script src=video-test.js></script>
<script>
testExpected("video.controls", null, '!=');
waitForEvent('load', function () {
if (window.eventSender)
{
eventSender.mouseMoveTo(54,240); // over play button
eventSender.mouseDown();
eventSender.mouseUp();
}
testExpected("video.paused", false);
endTest();
} );
video.src = 'content/test.mp4';
</script>
</body>
</html>