layout/reftests/svg/non-scaling-stroke-03.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/non-scaling-stroke-03.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
     1.9 +  <title>Test non-scaling-stroke repainting when ancestor transforms change</title>
    1.10 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=875069 -->
    1.11 +  <script>
    1.12 +
    1.13 +function doTest() {
    1.14 +  document.getElementById("g").setAttribute("transform", "scale(2)");
    1.15 +  document.documentElement.removeAttribute('class');
    1.16 +}
    1.17 +
    1.18 +document.addEventListener("MozReftestInvalidate", doTest, false);
    1.19 +setTimeout(doTest, 4000); // fallback for running outside reftest
    1.20 +
    1.21 +  </script>
    1.22 +  <g id="g">
    1.23 +    <line x1="50" y1="50" x2="50" y2="100" stroke="blue" stroke-width="10"
    1.24 +          style="vector-effect:non-scaling-stroke;"/>
    1.25 +  </g>
    1.26 +</svg>

mercurial