layout/reftests/bugs/508919-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/508919-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +  <head>
     1.6 +    <style>
     1.7 +      html { color: black; border-color: inherit; border-width: 10px;
     1.8 +             border-style: solid; }
     1.9 +    </style>
    1.10 +    <script>
    1.11 +      window.addEventListener("MozReftestInvalidate",
    1.12 +        function() {
    1.13 +          document.getElementById("x").removeAttribute("style");
    1.14 +          document.documentElement.className = "";
    1.15 +        },
    1.16 +        false);
    1.17 +    </script>
    1.18 +  </head>
    1.19 +  <body style="border-color: green;">
    1.20 +    <html id="x" style="display:none">Test</html>
    1.21 +  </body>
    1.22 +</html>

mercurial