layout/reftests/webm-video/poster-5.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 to ensure that changing the poster after video has painted its first
     5      frame doesn't render the poster. The video frame should not change to the
     6      poster, since it's already painted its first video frame. -->
     7 <video src="black140x100.webm"
     8        preload="auto"
     9        id="v"
    10        autoplay
    11        onended="document.getElementById('v').poster = 'blue250x200.png'; setTimeout(function(){document.documentElement.className = '';},0);"></video>
    12 </body>
    13 </html>

mercurial