1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
4 <!--======================================================================-->
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, Institut National de Recherche en =-->
7 <!--= Informatique et en Automatique, Keio University). All Rights =-->
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
9 <!--======================================================================-->
10 <!-- =====================================================================-->
12 <!-- struct-image-05-b.svg -->
14 <!-- Test that the image type svg is understood -->
16 <!-- Author : Ola Andersson 12/17/02 -->
19 <!-- =====================================================================-->
20 <!--======================================================================-->
21 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
22 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
23 <!--======================================================================-->
24 <svg version=
"1.1" baseProfile=
"basic" 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">
25 <SVGTestCase xmlns=
"http://www.w3.org/2000/02/svg/testsuite/description/">
27 <OperatorScript version=
"$Revision: 1.1 $" testname=
"struct-image-05-b.svg">
29 The image test case checks to see if the svg image format are supported.
32 The rendered picture should match the reference image, except for possible
33 variations in the labelling text (per CSS2 rules).
36 The test uses the 'rect' element, as well as basic fill (solid primary colors),
37 stroke (black
1-pixel lines), font-family (Arial) and font-size properties.
41 <title id=
"test-title">struct-image-
05-b
</title>
42 <desc id=
"test-desc">Test that the svg image format is understood.
</desc>
43 <!--======================================================================-->
44 <!--Content of Test Case follows... =====================-->
45 <!--======================================================================-->
46 <g id=
"test-body-content">
47 <image id=
"imageSVG" x=
"0" y=
"0" width=
"240" height=
"150" xlink:
href=
"resources/rects.svg"/>
49 <text id=
"revision" x=
"10" y=
"340" font-size=
"40" stroke=
"none" fill=
"black">$Revision:
1.1 $
</text>
50 <rect id=
"test-frame" x=
"1" y=
"1" width=
"478" height=
"358" fill=
"none" stroke=
"#000000"/>