layout/reftests/bugs/594333-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 div {
     6   float: left;
     7   width: 300px;
     8   height: 200px;
     9   background: url(repeatable-diagonal-gradient.png);
    10 }
    11 </style>
    12 <script type="text/javascript">
    13 var i = 32;
    14 function test() {
    15   document.getElementById("a").style.width = (i*10)+'px';
    16   document.getElementById("b").style.opacity = 0.999 - i/64.0;
    17   i--;
    18   if (i >= 0) {
    19     setTimeout(test, 10);
    20   } else {
    21     document.documentElement.removeAttribute("class");
    22   }
    23 }
    24 </script>
    25 </head>
    26 <body onload="test()">
    27   <div id="a"></div>
    28   <div id="b"></div>
    29 </body>
    30 </html>

mercurial