3 This tests that in a html document with inline audio content, the media element repaints correctly
6 <audio controls autoplay onplaying="playing(0)" src="content/silence.wav"></audio><br/>
7 <audio controls autoplay onplaying="playing(1)" src="content/silence.wav" style="margin-bottom:25px; -webkit-box-reflect:below;"></audio><br/>
8 <audio controls autoplay onplaying="playing(2)" src="content/silence.wav" style="margin:27px 0; -webkit-transform: rotate(15deg);"></audio><br>
10 if (window.layoutTestController)
11 layoutTestController.waitUntilDone();
13 if (window.layoutTestController)
14 layoutTestController.display();
17 var audioElements = document.getElementsByTagName('audio');
20 var audio = audioElements[i];
22 audio.addEventListener("seeked", function() {
23 if (!--count && window.layoutTestController)
24 layoutTestController.notifyDone();
26 audio.currentTime = audio.duration * 0.50;