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 |
<!-- shapes-ellipse-BE-01.svg -->
|
|
13 |
<!-- renamed for 1.1 suite to shapes-ellipse-01-t.svg -->
|
|
14 |
<!-- -->
|
|
15 |
<!-- Test that viewer has the basic capability to handle the <ellipse> -->
|
|
16 |
<!-- element. -->
|
|
17 |
<!-- -->
|
|
18 |
<!-- Author : Kelvin R. Lawrence, 3-Feb-2000 -->
|
|
19 |
<!-- -->
|
|
20 |
<!-- History: -->
|
|
21 |
<!-- 3-Feb-2000, KRL, Serial#1 created. Matches 20000202 SVG spec. -->
|
|
22 |
<!-- 27-Feb-2000, LRH, Serial#2, fix TC name, formatting, create .XML -->
|
|
23 |
<!-- 12-Mar-2000, LH, fix test-framing rect; ser#3 -->
|
|
24 |
<!-- 04-Jun-2000, LH, fix label in Legend; ser#4 -->
|
|
25 |
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
|
|
26 |
<!-- -->
|
|
27 |
<!-- ===================================================================== -->
|
|
28 |
<!--======================================================================-->
|
|
29 |
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
|
|
30 |
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
|
|
31 |
<!--======================================================================-->
|
|
32 |
<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">
|
|
33 |
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" >
|
|
34 |
<!--nav data here-->
|
|
35 |
<OperatorScript version="$Revision: 1.7 $" testname="shapes-ellipse-01-t.svg">
|
|
36 |
<Paragraph>
|
|
37 |
The rendered picture should match the reference image, except
|
|
38 |
for possible variations in the labelling text (per CSS2 rules).
|
|
39 |
</Paragraph>
|
|
40 |
</OperatorScript>
|
|
41 |
</SVGTestCase>
|
|
42 |
|
|
43 |
<title id="test-title">shapes-ellipse-01-t</title>
|
|
44 |
<desc id="test-desc">Test that viewer has the basic capability to handle the <ellipse> element.</desc>
|
|
45 |
<!--======================================================================-->
|
|
46 |
<!--Content of Test Case follows... =====================-->
|
|
47 |
<!--======================================================================-->
|
|
48 |
<g id="test-body-content">
|
|
49 |
<!-- ====================================================================== -->
|
|
50 |
<!-- First pair of ellipses. -->
|
|
51 |
<!-- ====================================================================== -->
|
|
52 |
<ellipse id="ellipse-01" fill="none" stroke="#000000" cx="50" cy="75" rx="30" ry="50"/>
|
|
53 |
<ellipse id="ellipse-02" fill="red" cx="160" cy="75" rx="30" ry="50"/>
|
|
54 |
<!-- ====================================================================== -->
|
|
55 |
<!-- Second pair of ellipses, should actually draw circles. -->
|
|
56 |
<!-- ====================================================================== -->
|
|
57 |
<ellipse id="ellipse-03" fill="none" stroke="#000000" cx="270" cy="80" rx="35" ry="35"/>
|
|
58 |
<ellipse id="ellipse-04" fill="red" cx="370" cy="80" rx="35" ry="35"/>
|
|
59 |
<!-- ====================================================================== -->
|
|
60 |
<!-- Third pair of ellipses. -->
|
|
61 |
<!-- ====================================================================== -->
|
|
62 |
<ellipse id="ellipse-05" fill="none" stroke="#0000FF" stroke-width="8" cx="50" cy="220" rx="30" ry="50"/>
|
|
63 |
<ellipse id="ellipse-06" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="160" cy="220" rx="30" ry="50"/>
|
|
64 |
<!-- ====================================================================== -->
|
|
65 |
<!-- Fourth pair of ellipses. -->
|
|
66 |
<!-- ====================================================================== -->
|
|
67 |
<ellipse id="ellipse-07" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="330" cy="220" rx="70" ry="40"/>
|
|
68 |
</g>
|
|
69 |
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
|
|
70 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|
71 |
</svg>
|
|
72 |
|