layout/reftests/bugs/581317-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.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 #d { width:200px; }
michael@0 6 #e { width:196px; height:196px; opacity:0.99; border:2px solid rgb(200,200,200); }
michael@0 7 #f { width:200px; height:10px; }
michael@0 8 </style>
michael@0 9 </head>
michael@0 10 <body onload="step()">
michael@0 11 <div id="d">
michael@0 12 <div id="e">
michael@0 13 <div style="width:80px; height:80px; background:yellow;"></div>
michael@0 14 <div id="f">
michael@0 15 <div style="width:80px; height:80px; background:blue;"></div>
michael@0 16 </div>
michael@0 17 </div>
michael@0 18 </div>
michael@0 19 <script>
michael@0 20 var d = document.getElementById("d");
michael@0 21 var e = document.getElementById("e");
michael@0 22 var f = document.getElementById("f");
michael@0 23 var v = 0;
michael@0 24 function step() {
michael@0 25 v += 40;
michael@0 26 d.style.border = "10px solid rgba(" + v + "," + v + "," + v + ", 0.99)";
michael@0 27 e.style.backgroundColor = "rgb(" + v + "," + v + "," + v + ")";
michael@0 28 f.style.opacity = v/250.0;
michael@0 29 if (v < 200) {
michael@0 30 setTimeout(step, 50);
michael@0 31 } else {
michael@0 32 document.documentElement.removeAttribute("class");
michael@0 33 }
michael@0 34 }
michael@0 35 </script>
michael@0 36 </body>
michael@0 37 </html>

mercurial