tests/arthur/data/1.1/struct-defs-01-t.svg
changeset 0 1918ee327afb
child 7 f7bc934e204c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/arthur/data/1.1/struct-defs-01-t.svg	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,85 @@
+<?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 % svgExt "| SVGTestCase">
+	<!ATTLIST svg baseProfile CDATA #IMPLIED>
+	<!ELEMENT SVGTestCase (OperatorScript)>
+	<!ATTLIST SVGTestCase
+	xmlns CDATA #REQUIRED>
+	<!ELEMENT OperatorScript (Paragraph)*>
+	<!ATTLIST OperatorScript 
+     	version CDATA #IMPLIED
+     	testname CDATA #IMPLIED>
+	<!ELEMENT Paragraph (#PCDATA)>
+]>
+
+<!--======================================================================-->
+<!--=  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/.                =-->
+<!--======================================================================-->
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!-- structure-defs-BE-04                                                  -->
+<!-- renamed for 1.1 suite to struct-defs-01-t.svg                         -->
+<!--                                                                       -->
+<!--                                                                       -->
+<!-- Author : Tim Thompson 3/16/00                                         -->
+<!-- Revised for 1.1 : Phil Armstrong Feb/12/2002                          -->
+<!--                                                                       -->
+<!-- History:                                                              -->
+<!--  20-mar-2000, test the defs element                                   -->
+<!--  08-apr-2000, LH="  fix 'title'" cmmt DOCTYPE; ser#2                  -->
+<!--  15-may-2000, TT="  changed color to stop color" ser#3                -->
+<!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .         -->
+<!--  14-Nov-2000, LH: add missing test-body-content 'g'.                   -->
+<!--  14-Nov-2000, LH: move defs into test-body-content.                   -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+<!--======================================================================-->
+<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
+<!--= log messages, and therefore is no longer in the preceding preamble.=-->
+<!--======================================================================-->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" 
+baseProfile="tiny"  width="100%" height="100%" viewBox="0 0 480 360">
+	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
+		<OperatorScript version="$Revision: 1.6 $" testname="struct-defs-01-t.svg">
+			<Paragraph>
+				Test to verify that the defs element is used as a container correctly.
+			</Paragraph>
+			<Paragraph>
+				In this test a fill is created which is solid red.  The view should be a solid red rectangle 
+				centered in the viewport 100 pixels from from left,top and right,bottom.  Also, in the
+				 defs sections there are rectangle defined, one to paint over the entire canvas with 
+				 a green fill and the other to obscure most of the red rectangle. The green rectangles 
+				 should not show in the view as defs are referenced items and are not rendered.  
+				 No green should show.
+			</Paragraph>
+			<Paragraph>
+				The rendered picture should match the reference image, except for possible
+				variations in the labelling text (per CSS2 rules).  
+			</Paragraph>
+			<Paragraph>
+				The test uses the 'rect' element, as well as basic fill (solid primary colors), 
+				stroke (black 1-pixel lines), font-family (Arial) and font-size properties.
+			</Paragraph>
+		</OperatorScript>
+	</SVGTestCase>
+	<title id="test-title">struct-defs-01-t</title>
+	<desc id="test-desc">Test to determine if the defs element is used as a container correctly</desc>
+	<!--======================================================================-->
+	<!--Content of Test Case follows...                  =====================-->
+	<!--======================================================================-->
+	<g id="test-body-content">
+		<defs id="references">
+			<rect id="rect11" x="0" y="0" width="480" height="360" color="008000"/>
+		</defs>
+		<rect x="140" y="80" width="200" height="200" fill="#F00"/>
+		<defs>
+			<rect x="160" y="100" width="160" height="160" fill="#008000"/>
+		</defs>
+	</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>