Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html class="reftest-wait"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | document.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 5 | |
michael@0 | 6 | function doTest() { |
michael@0 | 7 | var one = document.getElementById("one"); |
michael@0 | 8 | var two = document.getElementById("two"); |
michael@0 | 9 | one.style.display = "none"; |
michael@0 | 10 | two.style.display = ""; |
michael@0 | 11 | window.location.href = "#two"; |
michael@0 | 12 | document.documentElement.className = ""; |
michael@0 | 13 | } |
michael@0 | 14 | </script> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body> |
michael@0 | 17 | <div style="height: 200px;">spacer</div> |
michael@0 | 18 | <div id="one" style="background: blue; width: 200px; height: 200px;">div one</div> |
michael@0 | 19 | <div id="two" style="background: red; width: 200px; height: 200px; display: none;">div two</div> |
michael@0 | 20 | <div style="height: 10000px;">spacer</div> |
michael@0 | 21 | </body> |
michael@0 | 22 | </html> |