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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <svg width="100%" height="100%" preserveAspectRatio="none" 
     2      xmlns="http://www.w3.org/2000/svg"
     3      xmlns:xlink="http://www.w3.org/1999/xlink">
     5   <title>Testcase for scaled filter with non-integer x and y and objectBoundingBox</title> 
     6   <defs>
     7     <filter id="filter" filterUnits="objectBoundingBox" x="0.5" y="0.5" width="0.25" height="0.25">
     8       <feFlood flood-color="red" width="1" height="1" />
     9     </filter>
    10   </defs>
    12   <rect width="100%" height="100%" fill="lime"/>
    13   <g transform="scale(400)">
    14     <rect width="1" height="1" filter="url(#filter)" />
    15   </g>
    16   <rect x="200" y="200" width="100" height="100" fill="lime" />
    18 </svg>

mercurial