Index: LayoutTests/media/video-controls-rendering.html |
=================================================================== |
--- LayoutTests/media/video-controls-rendering.html (revision 69498) |
+++ LayoutTests/media/video-controls-rendering.html (working copy) |
@@ -1,6 +1,6 @@ |
<script src="media-file.js"></script> |
<script src="video-paint-test.js"></script> |
-<body onload="init()"> |
+<body> |
<p>Test controls placement. </p> |
<div> |
<video controls></video> |
@@ -11,5 +11,8 @@ |
<div> |
<video controls style="position: absolute; width: 320px;"></video> |
</div> |
-<script>setSrcByTagName('video', findMediaFile('video', 'content/test'))</script> |
+<script> |
+init(); |
+setSrcByTagName('video', findMediaFile('video', 'content/test')); |
+</script> |
</body> |