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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <!-- Test: Create video, add poster, load. Should display poster. -->
     4 <script>
     5 function runTest() {
     6   var v = document.createElement('video');
     7   v.addEventListener('loadeddata', function(){setTimeout(function(){document.documentElement.className = '';}, 0);}, false);
     8   v.id = 'v';
     9   v.src = "black140x100.webm";
    10   v.poster = "blue250x200.png";
    11   v.preload = "auto";
    12   document.body.appendChild(v);
    13 }
    15 </script>
    16 <body style="background:white;" onload="runTest();">
    17 </body>
    18 </html>

mercurial