layout/reftests/svg/opacity-and-transform-01.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/opacity-and-transform-01.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     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" version="1.1">
     1.9 +
    1.10 +  <title>Testcase for opacity on elements that are transformed</title>
    1.11 +
    1.12 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=806432 -->
    1.13 +
    1.14 +  <filter id="f">
    1.15 +    <feOffset dx="0.0001"/>
    1.16 +  </filter>
    1.17 +
    1.18 +  <!-- The filter is purely to force the element to be rendered via the
    1.19 +       nsSVGIntegrationUtils code path. (A mask or non-trivial clipPath that
    1.20 +       have no effect would do just as well.)
    1.21 +  -->
    1.22 +
    1.23 +  <rect width="100" height="100" transform="translate(10,10)" fill="blue" opacity="0.5" filter="url(#f)"/>
    1.24 +
    1.25 +</svg>

mercurial