Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | div { |
michael@0 | 6 | position: absolute; |
michael@0 | 7 | padding: 2px; |
michael@0 | 8 | left: 100px; |
michael@0 | 9 | top: 700px; |
michael@0 | 10 | width: 100px; |
michael@0 | 11 | height: 100px; |
michael@0 | 12 | background: yellow; |
michael@0 | 13 | -moz-transform: scale(1.5); |
michael@0 | 14 | transform: scale(1.5); |
michael@0 | 15 | } |
michael@0 | 16 | body.toggle div { |
michael@0 | 17 | -moz-transform: translate(0, -400px); |
michael@0 | 18 | transform: translate(0, -400px); |
michael@0 | 19 | } |
michael@0 | 20 | </style> |
michael@0 | 21 | </head> |
michael@0 | 22 | <body> |
michael@0 | 23 | <div>Hello</div> |
michael@0 | 24 | <script> |
michael@0 | 25 | function doTest() { |
michael@0 | 26 | document.body.setAttribute("class", "toggle"); |
michael@0 | 27 | document.documentElement.removeAttribute("class"); |
michael@0 | 28 | } |
michael@0 | 29 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 30 | </script> |
michael@0 | 31 | </body> |
michael@0 | 32 | </html> |