summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/render-elems-03-t.svg
blob: 5bfa4b49ec8d8d3677e4e622f3310527ce80a859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"
[
<!ENTITY shape "	<path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/>">
]>

<!--======================================================================-->
<!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
<!--=  Institute of Technology, Institut National de Recherche en        =-->
<!--=  Informatique et en Automatique, Keio University). All Rights      =-->
<!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- rendering-shape-BE-03.svg                                             -->
<!-- renamed for 1.1 suite to render-elems-03-t.svg                        -->
<!-- Author : Vincent Hardy, 02-Mar-2000                                   -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002                          -->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  id="svg-root" viewBox="0 0 480 360" width="100%" height="100%">
	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
		<OperatorScript version="$Revision: 1.7 $" testname="render-elems-03-t.svg">
			<Paragraph>
				Verifies that shapes can be filled, stroked and the order of filling and stroking.
			</Paragraph>
			<Paragraph>
				There is one pair of octagons. These are filled plus stroked.
			</Paragraph>
			<Paragraph>
				The rendered image should match the reference image except for the text which may
				show minor layout differences.
			</Paragraph>
			<Paragraph>
				The test uses the 'rect' element, as well as basic fill (solid primary colors), 
				stroke (primary color 1-pixel and wide lines), font-family (Arial) and font-size properties -
				 the common prerequisites. 
				 			</Paragraph>
		</OperatorScript>
	</SVGTestCase>
	<title id="test-title">render-elems-03-t</title>
	<desc id="test-desc">This test validates that shapes can be both filled and stroked.</desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<g id="test-body-content" >
		<!-- ====================================================================== -->
		<!-- Now, fill and stroke. The fill should happen first                     -->
		<!-- ====================================================================== -->
		<g transform="translate(30, 80)">
			<g fill="yellow" stroke="red" stroke-width="8" >&shape;</g>
			<g stroke="black" fill="blue" stroke-width="8"  transform="translate(200, 0)">&shape;</g>
			<text x="70" y="-30" font-size="28">Shape fill and stroke</text>
		</g>
	</g>
	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>