blob: b11650352c28800173ec451c02c48044bb7fc16e [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 { transform: rotate(0); }
to { transform: rotate(0); }
}
</style>
<script src="../resources/media-testing.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.ogv', 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>