750066.html (642B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"><head> 3 <meta charset="utf-8"> 4 <title>Testcase for bug 750066</title> 5 <style> 6 iframe { transition: width 2000ms ease-out 0s; } 7 </style> 8 9 <script> 10 function resize(w) { 11 var win = window.frames[0]; 12 win.frameElement.style.width = w; 13 } 14 function doTest() { 15 resize('1000px'); 16 setTimeout(function(){ 17 resize('500px'); 18 setTimeout(function(){ 19 document.documentElement.removeAttribute("class"); 20 },0); 21 },500); 22 } 23 </script> 24 </head> 25 <body> 26 27 <iframe src="750066-iframe.html"></iframe> 28 29 <script> 30 window.addEventListener("MozReftestInvalidate", doTest); 31 </script> 32 33 </body> 34 </html>