tests/arthur/data/1.1/render-elems-01-t.svg
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 13:17:34 +0300
changeset 19 fcece45ef507
parent 0 1918ee327afb
child 7 f7bc934e204c
permissions -rw-r--r--
Revision: 201015 Kit: 201018

<?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">

<!--======================================================================-->
<!--=  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-01-t.svg                        -->
<!-- Author : Vincent Hardy, 02-Mar-2000                                   -->
<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002                          -->
<!--======================================================================-->
<svg 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%" version="1.1" baseProfile="tiny">
	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
		<OperatorScript version="$Revision: 1.6 $" testname="render-elems-01-t-a.svg">
			<Paragraph>
				Verifies that shapes can be filled.
			</Paragraph>
			<Paragraph>
				There is one pair of octagons.  These are filled.
			</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 'path' 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-01-t</title>
	<desc id="test-desc">This test validates that shapes can be both filled.</desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<g id="test-body-content" >
		<!-- ====================================================================== -->
		<!-- First, fill shape with two different colors                            -->
		<!-- ====================================================================== -->
		<g transform="translate(30, 80)">
			<g fill="red" ><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
			<g fill="black"  transform="translate(200, 0)"><path d='M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z'/></g>
			<text x="130" y="-30" font-size="28">Shape fill</text>
		</g>
	</g>
	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>