<!DOCTYPE html>
<title>Test that the controls repaint correctly on resize.</title>
<video controls width=300></video>
<script>
var video = document.querySelector("video");
if (window.testRunner)
testRunner.waitUntilDone();
video.onloadedmetadata = function() {
video.currentTime = 2;
if (window.testRunner)
testRunner.notifyDone();
};
video.src = "../content/test.ogv";
</script>