1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/backgrounds/root-element-display-none-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE html> 1.5 +<html id="theroot" style="background-color: red" class="reftest-wait"> 1.6 + <head> 1.7 + <script> 1.8 + function dodisplaynone() { 1.9 + document.getElementById('theroot').style.display = 'none'; 1.10 + document.documentElement.className = ""; 1.11 + } 1.12 + document.addEventListener("MozReftestInvalidate", dodisplaynone, false); 1.13 + </script> 1.14 + </head> 1.15 + <body> 1.16 + </body> 1.17 +</html>