424766-1.html (936B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <title></title> 5 6 <script type="text/javascript"> 7 //<![CDATA[ 8 9 function showBug() { 10 document.getElementById('x').style.width = 0; 11 } 12 13 window.addEventListener("MozReftestInvalidate", 14 function() { 15 showBug(); 16 document.documentElement.className = ""; 17 }); 18 19 //]]> 20 </script> 21 22 </head> 23 24 <body style="width: 1000px; margin: 0; padding: 0"> 25 <table cellpadding="0" cellspacing="0" align="center"> 26 <tr> 27 <td> 28 <div style="background:red; WIDTH: 400px; height:400px;"></div> 29 <div id="x" style="width: 600px"></div> 30 31 </td> 32 </tr> 33 </table> 34 <div style="position: absolute; top: 0; left: 300px; height: 400px; width: 400px; background: green; opacity: 0.9"></div> 35 36 <br/> 37 38 <div style="text-align: center;"> 39 <form method="get" action="#"> 40 <input onclick="showBug(); return false;" value="Trigger Bug" type="button" /> 41 </form> 42 </div> 43 44 </body> 45 </html>