1417601-1.html (818B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="UTF-8"> 5 6 <style> 7 #modified { 8 left: 0px; 9 } 10 </style> 11 12 <script type="text/javascript"> 13 function doTest() { 14 document.getElementById("modified").style.left = "10px"; 15 document.documentElement.removeAttribute("class"); 16 } 17 18 window.addEventListener("MozReftestInvalidate", doTest); 19 </script> 20 21 </head> 22 <body> 23 <div style="opacity:0.9"> 24 <div style="position:fixed; left:300px; top:300px; width:200px; height:200px; background-color:red; z-index:-10"></div> 25 <div style="width:200px; height:200px; position:relative; background-color:green" id="modified"> 26 <div style="opacity:0.9"> 27 <div style="position:fixed; left:300px; top:300px; width:200px; height:200px; background-color:green; z-index:-10"></div> 28 </div> 29 </div> 30 </div> 31 </body> 32 </html>