1451971-1.html (756B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <style> 5 div { 6 width: 200px; 7 height: 200px; 8 } 9 .sort-marker { 10 position: fixed; 11 background-color: green; 12 } 13 .inner { 14 position: absolute; 15 background-color: blue; 16 } 17 </style> 18 </head> 19 <body> 20 21 <div class="sort-marker"></div> 22 <div style="perspective: 200px"> 23 <div class="inner" style="left: 5px; top: 5px;"></div> 24 <div class="inner" id="move" style="left: 220px;"></div> 25 </div> 26 <div class="sort-marker" style="left: 20px; top: 20px;"></div> 27 28 <script> 29 function doTest() { 30 document.getElementById("move").style.left = "221px"; 31 document.documentElement.removeAttribute('class'); 32 } 33 window.addEventListener("MozReftestInvalidate", doTest); 34 </script> 35 </body> 36 </html>