summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/struct-cond-01-t.svg
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/1.1/struct-cond-01-t.svg
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'tests/arthur/data/1.1/struct-cond-01-t.svg')
-rw-r--r--tests/arthur/data/1.1/struct-cond-01-t.svg75
1 files changed, 75 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/struct-cond-01-t.svg b/tests/arthur/data/1.1/struct-cond-01-t.svg
new file mode 100644
index 0000000000..cfe8b91ac1
--- /dev/null
+++ b/tests/arthur/data/1.1/struct-cond-01-t.svg
@@ -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>
+