2 if (window.layoutTestController)
3 layoutTestController.waitUntilDone();
7 if (window.layoutTestController)
8 layoutTestController.display();
10 var videoElement = document.getElementById("fr").contentDocument.querySelector("video");
11 setTimeout(function(){
13 videoElement.addEventListener("seeked", function() {
14 if (window.layoutTestController)
15 layoutTestController.notifyDone();
17 videoElement.currentTime = videoElement.duration * 0.50;
22 This tests that in a standalone media document with audio content, the media element repaints correctly
25 <iframe src="content/silence.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>
26 <script>// To produce the same layout as before iframe was moved down to avoid rebaselines of different platforms.
27 // https://bugs.webkit.org/show_bug.cgi?id=54942