summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webm-video/poster-7.html
blob: 769858cd6000f8a3278e20cd4ca6af54ded57fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html class="reftest-wait">
<body style="background:white;"
      onload="setTimeout(function(){document.documentElement.className = '';}, 0);">
<!-- Test that poster frame changes when you change the poster attribute. -->
<video src="black140x100.webm"
       preload="none"
       id="v"
       poster="blue250x200.png"></video>
<script type="text/javascript">
  document.getElementById('v').poster = 'red140x100.png';
</script>
</body>
</html>