1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/position-dynamic-changes/multiple-changes.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <body> 1.7 + <style> 1.8 + #a { border: 1px solid black; width: 100px; height: 100px; } 1.9 + #b { border: 1px solid blue; width: 50px; height: 50px; } 1.10 + div { position: absolute; } 1.11 + </style> 1.12 + <script> 1.13 + document.addEventListener("MozReftestInvalidate", function() { 1.14 + var a = document.querySelector("#a"); 1.15 + var b = document.querySelector("#b"); 1.16 + a.style.left = "10px"; 1.17 + b.style.left = "20px"; 1.18 + document.documentElement.removeAttribute("class"); 1.19 + }, false); 1.20 + </script> 1.21 + <div id="a"> 1.22 + <div id="b"> 1.23 + </div> 1.24 + </div> 1.25 + </body> 1.26 +</html>