retained-dl-prerender-transform-1.html (842B)
1 <html class="reftest-wait"> 2 <head> 3 <style> 4 * { 5 margin: 0px; 6 padding: 0px; 7 } 8 .inner { 9 width: 100px; 10 height: 100px; 11 background-color: green; 12 display: inline-block; 13 } 14 #third { 15 background-color: red; 16 } 17 body { 18 overflow: hidden; 19 } 20 </style> 21 </head> 22 <body id="body"> 23 <div id="transformed" style="transform:translateX(700px); will-change:transform;"> 24 <div id="first" class="reftest-no-display-list inner"></div><div id="second" class="reftest-no-display-list inner"></div><div id="third" class="reftest-display-list inner"></div> 25 </div> 26 </body> 27 <script> 28 function doTest() { 29 var third = document.getElementById("third") 30 third.style.backgroundColor = "green"; 31 document.documentElement.removeAttribute("class"); 32 } 33 34 window.addEventListener("MozReftestInvalidate", doTest); 35 </script> 36 </html>