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 | <body> |
michael@0 | 4 | <div style="overflow:hidden;height:100px"> |
michael@0 | 5 | <div style="overflow-x:hidden;position:sticky;top:50px"> |
michael@0 | 6 | <div id="testdiv" style="width:10px;height:10px;background-color:green"></div> |
michael@0 | 7 | </div> |
michael@0 | 8 | </div> |
michael@0 | 9 | <script> |
michael@0 | 10 | function doTest() { |
michael@0 | 11 | var x = document.getElementById('testdiv'); |
michael@0 | 12 | x.style.width = "200px"; |
michael@0 | 13 | document.documentElement.className = ""; |
michael@0 | 14 | } |
michael@0 | 15 | document.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 16 | </script> |
michael@0 | 17 | </body> |
michael@0 | 18 | </html> |