Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
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>