| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.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/. =--> |
| <!--======================================================================--> |
| <!-- =====================================================================--> |
| <!-- --> |
| <!-- structure-image-BE-06.svg --> |
| <!-- renamed to struct-image-01-t.svg --> |
| <!-- --> |
| <!-- Test that the two basic image formats that are allowed in tiny --> |
| <!-- (jpg ang png) are understood. --> |
| <!-- --> |
| <!-- Author : Tim Thompson 3/16/00 --> |
| <!-- Revised for 1.1 : Rick Graham Feb/05/2002 --> |
| <!-- --> |
| <!-- History: --> |
| <!-- 20-mar-2000, serial#1 created. --> |
| <!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2.--> |
| <!-- 15-MAY-2000, tt=" scale svg images to fit area" ser#3. --> |
| <!-- 01-jun-2000, LH=" fixed patch to eliminate box lines" ser#4. --> |
| <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . --> |
| <!-- 15-Nov-2000, LH: add missing test-body-content group. --> |
| <!-- --> |
| <!-- =====================================================================--> |
| <!--======================================================================--> |
| <!--= Note. After October 2000, revision history is kept as CVS 'commit' =--> |
| <!--= log messages, and therefore is no longer in the preceding preamble.=--> |
| <!--======================================================================--> |
| <svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360"> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
| <!--nav data here--> |
| <OperatorScript version="$Revision: 1.8 $" testname="struct-image-01-t.svg"> |
| <Paragraph> |
| The image test case checks to see if the basic image formats allowed in |
| the tiny profile are supported. |
| The upper right has an JPG image the lower right has a PNG image. They are |
| the same image. |
| Those positions are relative to the upper left of the entire canvas. |
| If any of the components are missing, then an image format is not being |
| properly supported. |
| </Paragraph> |
| <Paragraph> |
| The rendered picture should match the reference image, except for possible |
| variations in the labelling text (per CSS2 rules). |
| </Paragraph> |
| </OperatorScript> |
| </SVGTestCase> |
| <title id="test-title">struct-image-01-t</title> |
| <desc id="test-desc">Test that the jpg and png image formats are understood.</desc> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <image id="image1JPEG" x="240" y="0" width="240" height="150" xlink:href="resources/struct-image-01.jpg"/> |
| <image id="image1PNG" x="240" y="150" width="240" height="150" xlink:href="resources/struct-image-01.png"/> |
| </g> |
| <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text> |
| <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| </svg> |
| |