Debian Codegraph @

test_non_regression/svg/color-prop-02-f.svg

raw
1 <svg version="1.1" baseProfile="full" 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="SVGWG" author="Chris Lilley" status="accepted"
15 version="$Revision: 1.9 $" testname="$RCSfile: color-prop-02-f.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty">
17 <p>
18 Tests if the color datatype is supported. There are multiple syntaxes for
19 specifying the same color, such as #37F and #3377FF. This test is focussed on the
20 X11 color names, which are not part of the tiny profile.
21 Each group of circles uses four forms - 6-digit hex, rbg() integer form, rgb() percentage form,
22 and named ('X11') colors. It does not use 3-digit hex, because the colors used in this test
23 cannot be represented in three digit form.
24 </p>
25 </d:testDescription>
26 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
27 <p>
28 Run the test. No interaction required.
29 </p>
30 </d:operatorScript>
31 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
32 <p>
33 For each of the nine groups of circles shown here, all circles must
34 be identical in color, and the same color as in the reference image.
35 </p>
36 </d:passCriteria>
37 </d:SVGTestCase>
38 <title id="test-title">$RCSfile: color-prop-02-f.svg,v $</title>
39 <defs>
40 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
41 <font-face-src>
42 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
43 </font-face-src>
44 </font-face>
45 </defs>
46 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
47 <!-- groups of five colors -->
48 <g>
49 <circle cx="75" cy="40" r="20" fill="crimson"/>
50 <circle cx="115" cy="40" r="20" fill="#DC143C"/>
51 <circle cx="75" cy="80" r="20" fill="rgb(220,20,60)"/>
52 <circle cx="115" cy="80" r="20" fill="rgb(86.274509803921568627450980392157%,7.8431372549019607843137254901961%,23.529411764705882352941176470588%)"/>
53 </g>
54 <g>
55 <circle cx="200" cy="40" r="20" fill="palegreen"/>
56 <circle cx="240" cy="40" r="20" fill="#98FB98"/>
57 <circle cx="200" cy="80" r="20" fill="rgb(152, 251, 152)"/>
58 <circle cx="240" cy="80" r="20" fill="rgb(59.60784313725490196078431372549%,98.431372549019607843137254901961%,59.60784313725490196078431372549%)"/>
59 </g>
60 <g>
61 <circle cx="325" cy="40" r="20" fill="royalblue"/>
62 <circle cx="365" cy="40" r="20" fill="#4169E1"/>
63 <circle cx="325" cy="80" r="20" fill="rgb(65, 105, 225)"/>
64 <circle cx="365" cy="80" r="20" fill="rgb(25.490196078431372549019607843137%,41.176470588235294117647058823529%,88.235294117647058823529411764706%)"/>
65 </g>
66 <g>
67 <circle cx="75" cy="135" r="20" fill="firebrick"/>
68 <circle cx="115" cy="135" r="20" fill="#B22222"/>
69 <circle cx="75" cy="175" r="20" fill="rgb(178,34,34)"/>
70 <circle cx="115" cy="175" r="20" fill="rgb(69.803921568627450980392156862745%,13.333333333333333333333333333333%,13.333333333333333333333333333333%)"/>
71 </g>
72 <g>
73 <circle cx="200" cy="135" r="20" fill="seagreen"/>
74 <circle cx="240" cy="135" r="20" fill="#2E8B57"/>
75 <circle cx="200" cy="175" r="20" fill="rgb(46, 139, 87)"/>
76 <circle cx="240" cy="175" r="20" fill="rgb(18.039215686274509803921568627451%,54.509803921568627450980392156863%,34.117647058823529411764705882353%)"/>
77 </g>
78 <g>
79 <circle cx="325" cy="135" r="20" fill="mediumblue"/>
80 <circle cx="365" cy="135" r="20" fill="#0000CD"/>
81 <circle cx="325" cy="175" r="20" fill="rgb(0, 0, 205)"/>
82 <circle cx="365" cy="175" r="20" fill="rgb(0%,0%,80.39215686274509803921568627451%)"/>
83 </g>
84 <g>
85 <circle cx="75" cy="230" r="20" fill="indianred"/>
86 <circle cx="115" cy="230" r="20" fill="#CD5C5C"/>
87 <circle cx="75" cy="270" r="20" fill="rgb(205, 92, 92)"/>
88 <circle cx="115" cy="270" r="20" fill="rgb(80.39215686274509803921568627451%,36.078431372549019607843137254902%,36.078431372549019607843137254902%)"/>
89 </g>
90 <g>
91 <circle cx="200" cy="230" r="20" fill="lawngreen"/>
92 <circle cx="240" cy="230" r="20" fill="#7CFC00"/>
93 <circle cx="200" cy="270" r="20" fill="rgb(124, 252, 0)"/>
94 <circle cx="240" cy="270" r="20" fill="rgb(48.627450980392156862745098039216%,98.823529411764705882352941176471%,0%)"/>
95 </g>
96 <g>
97 <circle cx="325" cy="230" r="20" fill="mediumturquoise"/>
98 <circle cx="365" cy="230" r="20" fill="#48D1CC"/>
99 <circle cx="325" cy="270" r="20" fill="rgb(72, 209, 204)"/>
100 <circle cx="365" cy="270" r="20" fill="rgb(28.235294117647058823529411764706%,81.960784313725490196078431372549%,80%)"/>
101 </g>
102 </g>
103 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
104 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>
105 </g>
106 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
107 <!-- comment out this watermark once the test is approved -->
108 <!--<g id="draft-watermark">
109 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
110 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
111 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
112 </g>-->
113 </svg>