Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE HTML>
2 <html class="reftest-wait"><head>
3 <meta charset="utf-8">
4 <title>Testcase for bug 844178</title>
5 <style type="text/css">
7 html,body {
8 color:black; background-color:white; font-size:16px; padding:0; margin:0;
9 }
11 body {
12 position: fixed;
13 right: 0px;
14 top: 100px;
15 width: 100px;
16 height: 10px;
17 margin:0;
18 padding:0;
19 }
21 :root { overflow:scroll; }
23 span {
24 background:lime;
25 display:inline-block;
26 width:100px;
27 }
29 </style>
30 <script>
31 function doTest() {
32 document.body.style.right='5px';
33 document.body.offsetHeight;
34 document.documentElement.removeAttribute('class');
35 }
36 document.addEventListener("MozReftestInvalidate", doTest, false);
37 </script>
38 </head>
39 <body><span>Hello</span></body>
40 </html>