blob: 22d2e06d4f379a99e5a2d3f219fe717401c3f2b3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.container {
width: 300px;
-webkit-animation: spin 18s infinite linear;
}
video {
-webkit-box-reflect: below;
background-color: red;
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0); }
to { -webkit-transform: rotate(0); }
}
</style>
<script src="../resources/media-testing.js"></script>
<script src="../../media/media-file.js"></script>
<script type="text/javascript" charset="utf-8">
function testDone()
{
if (window.testRunner)
testRunner.notifyDone();
}
function doTest()
{
var video = document.getElementsByTagName('video')[0];
setupVideo(video, '../resources/video', null, testDone);
}
</script>
</head>
<body onload="doTest()">
<p>You should see a reflected video below, rather than the red video background.</p>
<div class="container">
<video></video>
</div>
</body>
</html>