blob: 99db60eb05ed9ae529d4642c941d563b465c8fe5 [file] [log] [blame]
<!-- webkit-test-runner [ enableModernMediaControls=false ] -->
<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=media-file.js></script>
<script src=video-test.js></script>
<script src=media-controls.js></script>
<script>
testExpected("video.controls", null, '!=');
waitForEvent('canplaythrough', function () {
try {
clickPlayButton(video);
} catch (exception) {
failTest(exception.description);
return;
}
testExpected("video.paused", false);
endTest();
} );
video.src = findMediaFile("video", "content/test");
</script>
</body>
</html>