Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 { -moz-transition: width 2000ms ease-out 0s; }
7 </style>
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>
27 <iframe src="750066-iframe.html"></iframe>
29 <script>
30 window.addEventListener("MozReftestInvalidate", doTest, false);
31 </script>
33 </body>
34 </html>