tests/arthur/data/1.1/struct-cond-01-t.svg
changeset 0 1918ee327afb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/arthur/data/1.1/struct-cond-01-t.svg	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,75 @@
+<?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/.                =-->
+<!--======================================================================-->
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!-- structure-switch-BE-07.svg                                            -->
+<!-- renamed to struct-cond-01-t.svg                                       -->
+<!--                                                                       -->
+<!-- Test that the switch element works.                                   -->
+<!--                                                                       -->
+<!-- Author : Tim Thompson 3/16/00                                         -->
+<!-- Revised for 1.1 : Rick Graham Feb/05/2002                                         -->
+<!--                                                                       -->
+<!-- History:                                                              -->
+<!--  20-mar-2000, serial#1 created.                                       -->
+<!--  09-apr-2000, LH=" fix title" remove nested svg; cmmt DOCTYPE; ser#2.  -->
+<!--  15-may-2000, TT: changed language. ser#3.				                     -->
+<!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .         -->
+<!--  17-Aug-2000, JF: system-language to systemLanguage,                  -->
+<!--                   system-required to requiredFeatures,                -->
+<!--                   org.w3c.static to org.w3c.svg.static.               -->
+<!--                                                                       -->
+<!--  28-Aug-2000, TT: drop systemLanguage and requiredFeatures from       -->
+<!--		       switch, dropped language=en from rect that          -->
+<!--		       validates to true.				   -->
+<!--  15-Nov-2000, LH: add missing test-body-content group.                -->
+<!--  15-Jul-2001, JF: Removed requiredFeatures check, as this required    -->
+<!--               full implementation of static spec to pass.             -->
+<!--               Replaced systemLanguage check with check to non-existent-->
+<!--               requiredExtensions and two elements with no test.       -->
+<!-- ===================================================================== -->
+<!--======================================================================-->
+<!--= 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" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  id="svg-root" 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-cond-01-t.svg">
+			<Paragraph>
+				This test evaluates a switch statement.  The result should be a 
+				green rectangle in the lower left quarter of the output window.
+			</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-cond-01-t.svg</title>
+	<desc id="test-desc">Test to determine if a simple switch element can be probably evaluated.</desc>
+	<!--======================================================================-->
+	<!--Content of Test Case follows...                  =====================-->
+	<!--======================================================================-->
+	<g id="test-body-content">
+    <switch>
+      <rect fill="red" x="0" y="0" width="220" height="150"
+            requiredExtensions="http://example.org/bogus"/>
+      <rect fill="green" x="0" y="150" width="220" height="150"/>
+      <rect fill="blue" x="240" y="0" width="220" height="150"/>
+    </switch>
+	</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>
+