| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd"> |
| <!--======================================================================--> |
| <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
| <!--= Institute of Technology, Institut National de Recherche en =--> |
| <!--= Informatique et en Automatique, Keio University). All Rights =--> |
| <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
| <!--======================================================================--> |
| <!-- =====================================================================--> |
| <!-- filters-feImage-BE-13 --> |
| <!-- renamed for 1.1 suite to filters-image-01-b.svg --> |
| <!-- Author : Tim Thompson 8/04/00 --> |
| <!-- revised for 1.1 : Luc Minnebo Feb/06/2002 --> |
| <!--======================================================================--> |
| <svg version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
| <OperatorScript version="$Revision: 1.7 $" testname="filters-image-01-b.svg"> |
| <Paragraph> |
| An image should be displayed in the middle of the view area. |
| </Paragraph> |
| <Paragraph> |
| The rendered picture should match the reference image, except for possible |
| variations in the labelling text (per CSS2 rules). |
| </Paragraph> |
| <Paragraph> |
| The test uses the 'rect' element, as well as basic fill (solid primary colors), |
| stroke (black 1-pixel lines), font-family (Arial) and font-size properties. |
| </Paragraph> |
| </OperatorScript> |
| </SVGTestCase> |
| <title id="test-title">filters-image-01-b</title> |
| <desc id="test-desc">Basic test of feImage filter support.</desc> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <defs> |
| <filter id="image"> |
| <feImage x="145" y="50" width="190" height="190" xlink:href="resources/image1.jpg"/> |
| </filter> |
| </defs> |
| <text font-family="Arial" font-size="12" x="240" y="20" text-anchor="middle" >Basic test of feImage filter support.</text> |
| <rect width="480" height="360" filter="url(#image)"/> |
| </g> |
| <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text> |
| <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| </svg> |