layout/reftests/svg/foreignObject-start-hidden-02.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/foreignObject-start-hidden-02.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="reftest-wait"
     1.5 +     height="0" width="0" viewBox="0 0 50 50" preserveAspectRatio="none">
     1.6 +  <script>
     1.7 +    document.addEventListener("MozReftestInvalidate", doTest, false);
     1.8 +    setTimeout(doTest, 4000); // fallback for running outside reftest
     1.9 +
    1.10 +    function doTest() {
    1.11 +      document.documentElement.removeAttribute("width");
    1.12 +      document.documentElement.removeAttribute("height");
    1.13 +      document.documentElement.removeAttribute("class");
    1.14 +    }
    1.15 +  </script>
    1.16 +  <rect width="100%" height="100%" fill="red"/>
    1.17 +  <foreignObject width="100%" height="100%">
    1.18 +    <div xmlns="http://www.w3.org/1999/xhtml"
    1.19 +         style="background:lime; width:100%; height:100%;"/>
    1.20 +  </foreignObject>
    1.21 +</svg>

mercurial