Debian Codegraph @

test_non_regression/svg/shapes-ellipse-02-t.svg

raw
1 <svg version="1.1" baseProfile="tiny" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="DJ" author="CN" status="accepted"
15 version="$Revision: 1.6 $" testname="$RCSfile: shapes-ellipse-02-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#EllipseElement">
17 <p>
18 Defaults test with ellipse.
19 </p>
20 </d:testDescription>
21 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
22 <p>Run the test. No interaction required.</p>
23 </d:operatorScript>
24 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
25 <p>The test passes if one blue ellipse is shown completely within the test slide,
26 and a quarter ellipse is shown in the top-left corner of the test slide.</p>
27 </d:passCriteria>
28 </d:SVGTestCase>
29 <title id="test-title">$RCSfile: shapes-ellipse-02-t.svg,v $</title>
30 <defs>
31 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
32 <font-face-src>
33 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
34 </font-face-src>
35 </font-face>
36 </defs>
37 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
38 <g fill="blue" stroke="#000000">
39 <!-- Set cx and cy coordinate to default.-->
40 <ellipse rx="100" ry="50"/>
41
42 <!-- Set rx attribute to 0.-->
43 <ellipse cx="100" cy="150" rx="0" ry="50"/>
44
45 <!-- Set ry attribute to 0.-->
46 <ellipse cx="200" cy="50" rx="100" ry="0"/>
47
48 <!-- Set all values attribute to drawn an ellipse.-->
49 <ellipse cx="250" cy="250" rx="100" ry="50"/>
50 </g>
51 </g>
52 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
53 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
54 </g>
55 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
56 <!-- comment out this watermark once the test is approved -->
57 <!--<g id="draft-watermark">
58 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
59 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
60 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
61 </g>-->
62 </svg>