layout/reftests/svg/filter-scaled-01.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/filter-scaled-01.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<svg width="100%" height="100%" preserveAspectRatio="none" 
     1.5 +     xmlns="http://www.w3.org/2000/svg"
     1.6 +     xmlns:xlink="http://www.w3.org/1999/xlink">
     1.7 + 
     1.8 +  <title>Testcase for scaled filter with non-integer x and y and objectBoundingBox</title> 
     1.9 +  <defs>
    1.10 +    <filter id="filter" filterUnits="objectBoundingBox" x="0.5" y="0.5" width="0.25" height="0.25">
    1.11 +      <feFlood flood-color="red" width="1" height="1" />
    1.12 +    </filter>
    1.13 +  </defs>
    1.14 +
    1.15 +  <rect width="100%" height="100%" fill="lime"/>
    1.16 +  <g transform="scale(400)">
    1.17 +    <rect width="1" height="1" filter="url(#filter)" />
    1.18 +  </g>
    1.19 +  <rect x="200" y="200" width="100" height="100" fill="lime" />
    1.20 +
    1.21 +</svg>

mercurial