summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/painting-fill-02-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/painting-fill-02-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/painting-fill-02-t.svg')
-rw-r--r--tests/arthur/data/1.1/painting-fill-02-t.svg80
1 files changed, 80 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/painting-fill-02-t.svg b/tests/arthur/data/1.1/painting-fill-02-t.svg
new file mode 100644
index 0000000000..2ecb8822ab
--- /dev/null
+++ b/tests/arthur/data/1.1/painting-fill-02-t.svg
@@ -0,0 +1,80 @@
+<?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/. =-->
+<!--======================================================================-->
+<!-- ===================================================================== -->
+<!-- -->
+<!-- paint-fill-BE-01.svg -->
+<!-- renamed for 1.1 suite to painting-fill-01-f.svg -->
+<!-- renamed for SVGT/B to painting-fill-02-t.svg -->
+<!-- -->
+<!-- Test that viewer has the basic capability to handle the fill -->
+<!-- properties within 'style' attributes. -->
+<!-- -->
+<!-- -->
+<!-- Author : Kevin McCluskey, 9-Feb-2000 -->
+<!-- 1.1 revision by Rick Graham -->
+<!-- Revised for SVGT/B: Benoit Bezaire Jul/02/2002 -->
+<!-- -->
+<!-- History: -->
+<!-- 9-Feb-2000, KM, Serial#2 created. Matches 20000202 SVG spec. -->
+<!-- 27-feb-2000, LH, Ser#3, remove extra </g>, fixed name ("paint-"). -->
+<!-- 12-Mar-2000, LH, fix test-framing rect; ser#4 -->
+<!-- 28-Mar-2000, LH, fix gradient test; ser#5 -->
+<!-- 19-May-2000, LH, comment out ICC stuff, pending correct code; ser#6. -->
+<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
+<!-- 08-Sep-2000, JF: add missing logic for icc colors, update ser#=7 . -->
+<!-- 14-Dec-2000, JF: added explicit gradientUnits='userSpaceOnUse' -->
+<!-- -->
+<!-- ===================================================================== -->
+<!--======================================================================-->
+<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
+<!--= log messages, and therefore is no longer in the preceding preamble.=-->
+<!--======================================================================-->
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" 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.5 $" testname="painting-fill-01-t-b.svg">
+ <Paragraph>
+ The test uses the fill:currentColor property.
+ </Paragraph>
+ <Paragraph>
+ The rectangle on the left should be green filled, the rectangle on the right should be blue.
+ The text above the rectangles should be black.
+ </Paragraph>
+ </OperatorScript>
+ </SVGTestCase>
+ <title id="test-title">painting-fill-02-t.svg</title>
+ <desc id="test-desc">
+ Test that viewer has the basic capability to handle the &lt;fill,fill-rule,fill-opacity properites&gt;
+ </desc>
+ <!--======================================================================-->
+ <!--Content of Test Case follows... =====================-->
+ <!--======================================================================-->
+ <g id="test-body-content" color="green">
+
+ <text font-family="Arial" font-size="36" x="30" y="42">Basic paint: fill properties.</text>
+ <text font-family="Arial" font-size="36" x="100" y="80">fill="currentColor"</text>
+
+<!-- ====================================================================== -->
+<!-- Second set of rectangles with fill:currentColor -->
+<!-- ====================================================================== -->
+
+ <rect id="fill-03" fill="currentColor" stroke="#000000" x="75" y="110" width="100" height="140"/>
+ <rect id="fill-04" color="blue" fill="currentColor" stroke="#000000" x="275" y="110" width="100" height="140"/>
+
+ <text font-family="Arial" font-size="36" x="80" y="280">green</text>
+ <text font-family="Arial" font-size="36" x="290" y="280">blue</text>
+
+ </g>
+
+
+ <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
+ <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+</svg>
+