Wed, 31 Dec 2014 07:16:47 +0100
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 | div { |
michael@0 | 6 | float: left; |
michael@0 | 7 | width: 300px; |
michael@0 | 8 | height: 200px; |
michael@0 | 9 | background: url(repeatable-diagonal-gradient.png); |
michael@0 | 10 | } |
michael@0 | 11 | </style> |
michael@0 | 12 | <script type="text/javascript"> |
michael@0 | 13 | var i = 32; |
michael@0 | 14 | function test() { |
michael@0 | 15 | document.getElementById("a").style.width = (i*10)+'px'; |
michael@0 | 16 | document.getElementById("b").style.opacity = 0.999 - i/64.0; |
michael@0 | 17 | i--; |
michael@0 | 18 | if (i >= 0) { |
michael@0 | 19 | setTimeout(test, 10); |
michael@0 | 20 | } else { |
michael@0 | 21 | document.documentElement.removeAttribute("class"); |
michael@0 | 22 | } |
michael@0 | 23 | } |
michael@0 | 24 | </script> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body onload="test()"> |
michael@0 | 27 | <div id="a"></div> |
michael@0 | 28 | <div id="b"></div> |
michael@0 | 29 | </body> |
michael@0 | 30 | </html> |