summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/struct-image-01-t.svg
blob: 14bb6c9c86a3c31b90309677fadfab1350ddf509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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="images/struct-image-01.jpg"/>
		<image id="image1PNG" x="240" y="150" width="240" height="150" xlink:href="images/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>