Bug 1535077 - Switch to using Ref and PureComponent in the SearchBox component. r...
[gecko.git] / layout / reftests / bugs / 530686-1.html
blob2a774eefefa1b3e8a729dca180a3f053abb2ca02
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;
11 .cover {
12 position: absolute;
13 width: 520px;
14 height: 100px;
15 background: yellow;
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';
24 document.documentElement.removeAttribute("class");
26 window.addEventListener("MozReftestInvalidate", doTest);
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>