summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/750066.html
blob: 48ca6a5fdcfa4f20d98febc0f02441d678f6e8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE HTML>
<html class="reftest-wait"><head>
    <meta charset="utf-8">
    <title>Testcase for bug 750066</title>
<style>
iframe { -moz-transition: width 2000ms ease-out 0s; }
</style>

<script>
function resize(w) {
  var win = window.frames[0];
  win.frameElement.style.width = w;
}
function doTest() {
  resize('1000px'); 
  setTimeout(function(){ 
    resize('500px');
    setTimeout(function(){
      document.documentElement.removeAttribute("class");
    },0);
  },500);
}
</script>
</head>
<body>

<iframe src="750066-iframe.html"></iframe>

<script>
window.addEventListener("MozReftestInvalidate", doTest);
</script>

</body>
</html>