retained-dl-remove-for-ancestor-change-1.html (494B)
1 <html class="reftest-wait"> 2 <head> 3 </head> 4 <body> 5 <div id="container" style="height: 100px; overflow: hidden;"> 6 <div id="spacer" style="height: 50px;"></div> 7 <div id="second" style="background-color:red; width: 10px; height: 10px;"></div> 8 </div> 9 </body> 10 <script> 11 function doTest() { 12 document.getElementById("container").style.height = "40px"; 13 document.documentElement.removeAttribute("class"); 14 } 15 16 window.addEventListener("MozReftestInvalidate", doTest); 17 </script> 18 </html>