0
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
|
|
3 |
|
|
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 |
<!-- =====================================================================-->
|
|
11 |
<!-- -->
|
|
12 |
<!-- structure-image-BE-06.svg -->
|
|
13 |
<!-- renamed to struct-image-01-t.svg -->
|
|
14 |
<!-- -->
|
|
15 |
<!-- Test that the two basic image formats that are allowed in tiny -->
|
|
16 |
<!-- (jpg ang png) are understood. -->
|
|
17 |
<!-- -->
|
|
18 |
<!-- Author : Tim Thompson 3/16/00 -->
|
|
19 |
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
|
|
20 |
<!-- -->
|
|
21 |
<!-- History: -->
|
|
22 |
<!-- 20-mar-2000, serial#1 created. -->
|
|
23 |
<!-- 09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2.-->
|
|
24 |
<!-- 15-MAY-2000, tt=" scale svg images to fit area" ser#3. -->
|
|
25 |
<!-- 01-jun-2000, LH=" fixed patch to eliminate box lines" ser#4. -->
|
|
26 |
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
|
|
27 |
<!-- 15-Nov-2000, LH: add missing test-body-content group. -->
|
|
28 |
<!-- -->
|
|
29 |
<!-- =====================================================================-->
|
|
30 |
<!--======================================================================-->
|
|
31 |
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
|
|
32 |
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
|
|
33 |
<!--======================================================================-->
|
|
34 |
<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">
|
|
35 |
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
|
|
36 |
<!--nav data here-->
|
|
37 |
<OperatorScript version="$Revision: 1.8 $" testname="struct-image-01-t.svg">
|
|
38 |
<Paragraph>
|
|
39 |
The image test case checks to see if the basic image formats allowed in
|
|
40 |
the tiny profile are supported.
|
|
41 |
The upper right has an JPG image the lower right has a PNG image. They are
|
|
42 |
the same image.
|
|
43 |
Those positions are relative to the upper left of the entire canvas.
|
|
44 |
If any of the components are missing, then an image format is not being
|
|
45 |
properly supported.
|
|
46 |
</Paragraph>
|
|
47 |
<Paragraph>
|
|
48 |
The rendered picture should match the reference image, except for possible
|
|
49 |
variations in the labelling text (per CSS2 rules).
|
|
50 |
</Paragraph>
|
|
51 |
</OperatorScript>
|
|
52 |
</SVGTestCase>
|
|
53 |
<title id="test-title">struct-image-01-t</title>
|
|
54 |
<desc id="test-desc">Test that the jpg and png image formats are understood.</desc>
|
|
55 |
<!--======================================================================-->
|
|
56 |
<!--Content of Test Case follows... =====================-->
|
|
57 |
<!--======================================================================-->
|
|
58 |
<g id="test-body-content">
|
|
59 |
<image id="image1JPEG" x="240" y="0" width="240" height="150" xlink:href="images/struct-image-01.jpg"/>
|
|
60 |
<image id="image1PNG" x="240" y="150" width="240" height="150" xlink:href="images/struct-image-01.png"/>
|
|
61 |
</g>
|
|
62 |
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
|
|
63 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|
64 |
</svg>
|
|
65 |
|