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">
3 <head>
4 <style type="text/css">
5 #rear {
6 width: 500px;
7 height: 1500px;
8 box-shadow: 0 0 71px #667;
9 display: block;
10 }
11 .cover {
12 position: absolute;
13 width: 520px;
14 height: 100px;
15 background: yellow;
16 }
17 </style>
18 <script>
19 function doTest() {
20 var es = document.getElementsByClassName("cover");
21 for (var i = 0; i < es.length; ++i) {
22 es[i].style.display = 'none';
23 }
24 document.documentElement.removeAttribute("class");
25 }
26 window.addEventListener("MozReftestInvalidate", doTest, false);
27 </script>
28 </head>
29 <body>
30 <div id="rear"></div>
31 <div class="cover" style="top:100px"></div>
32 <div class="cover" style="top:300px"></div>
33 </body>
34 </html>