layout/reftests/webm-video/poster-7.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial