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 | function doTest() { |
michael@0 | 5 | var x = document.getElementById('TB_overlay'); |
michael@0 | 6 | x.style.display = 'block'; |
michael@0 | 7 | document.documentElement.removeAttribute('class'); |
michael@0 | 8 | } |
michael@0 | 9 | document.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 10 | </script> |
michael@0 | 11 | <style> |
michael@0 | 12 | #TB_window |
michael@0 | 13 | { |
michael@0 | 14 | border: 1px solid red; |
michael@0 | 15 | position: fixed; |
michael@0 | 16 | top: 0; |
michael@0 | 17 | left: 0; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | #TB_overlay { |
michael@0 | 21 | height: 200px; |
michael@0 | 22 | left: 10px; |
michael@0 | 23 | position: fixed; |
michael@0 | 24 | top: 80px; |
michael@0 | 25 | width: 200px; |
michael@0 | 26 | display: none; |
michael@0 | 27 | |
michael@0 | 28 | opacity: 0.1; |
michael@0 | 29 | |
michael@0 | 30 | background-color: green; |
michael@0 | 31 | } |
michael@0 | 32 | </style> |
michael@0 | 33 | </head> |
michael@0 | 34 | <body> |
michael@0 | 35 | SOME CONTENT |
michael@0 | 36 | <div id="TB_overlay"> |
michael@0 | 37 | </div> |
michael@0 | 38 | <div id="TB_window"></div> |
michael@0 | 39 | |
michael@0 | 40 | </body> |
michael@0 | 41 | </html> |