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" style="height: 100%">
3 <head>
4 <script>
5 function doIt() {
6 var d = document.createElement("div");
7 d.setAttribute("style",
8 "position: absolute; left: 0; right: 0; top: 0; " +
9 "bottom: 0; background: green");
10 document.getElementById("x").appendChild(d);
11 document.documentElement.removeAttribute("class");
12 }
13 window.addEventListener("MozReftestInvalidate", doIt);
14 </script>
15 </head>
16 <body style="height: 100%">
17 <fieldset id="x" style="position: relative; display: table; width: 50%;
18 height: 50%; top: 25%; left: 25%">
19 </fieldset>
20 </body>
21 </html>