summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/interact-zoom-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/interact-zoom-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/interact-zoom-01-t.svg')
-rw-r--r--tests/arthur/data/1.1/interact-zoom-01-t.svg71
1 files changed, 71 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/interact-zoom-01-t.svg b/tests/arthur/data/1.1/interact-zoom-01-t.svg
new file mode 100644
index 0000000000..2318ec719b
--- /dev/null
+++ b/tests/arthur/data/1.1/interact-zoom-01-t.svg
@@ -0,0 +1,71 @@
+<?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, 2002 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/. =-->
+<!--======================================================================-->
+<!-- =====================================================================-->
+<!-- -->
+<!-- interact-zoomPan-BE-01.svg -->
+<!-- renamed for 1.1 suite to interact-zoom-01-f.svg -->
+<!-- renamed for SVGT/B to interact-zoom-01-t.svg -->
+<!-- -->
+<!-- Basic test of zoomAndPan attribute, "disable" value. (Based on -->
+<!-- code extracted from coordSystem-units-BE-03 test.) -->
+<!-- -->
+<!-- Author : Lofton Henderson -->
+<!-- 1.1 revision by Thomas DeWeese 5-Feb-2002 -->
+<!-- Revised for SVGT/B: Benoit Bezaire Jul/08/2002 -->
+<!-- -->
+<!-- History: -->
+<!-- 06-Aug-2000, LH: created -->
+<!-- -->
+<!-- =====================================================================-->
+<!--======================================================================-->
+<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
+<!--= log messages, and therefore is no longer in the preceding preamble.=-->
+<!--======================================================================-->
+<svg id="svg-root" width="100%" height="100%" viewBox="0 0 80 60" zoomAndPan="disable" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny">
+ <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
+ <OperatorScript version="$Revision: 1.5 $" testname="interact-zoom-01-t.svg">
+ <Paragraph>
+Verify correct handling by Dynamic (interactive) viewers for the
+"zoomAndPan" attribute on the 'svg' element. This is one of a pair of
+tests, and tests the value "disable".
+ </Paragraph>
+ <Paragraph>
+The test consists of a set of black circles with a blue stroke. </Paragraph>
+ <Paragraph>
+After the initial picture is displayed, the user should attempt to use
+the magnify controls that are required on conforming Dynamic SVG
+viewers. The correct behaviour is that the magnify and pan controls
+shall have no effect -- the viewer shall disable them.
+ </Paragraph>
+ <Paragraph>
+The rendered picture should match the reference image, except for
+possible variations in the labelling text (per CSS2 rules).
+ </Paragraph>
+ </OperatorScript>
+ </SVGTestCase>
+ <title id="test-title">interact-zoom-01-t</title>
+ <desc id="test-desc">Test "disable" value of zoomAndPan attribute.</desc>
+ <!--===============================================================-->
+ <!--Content of Test Case follows... ==============-->
+ <!--===============================================================-->
+ <g id="test-body-content" font-size="6">
+ <!-- Title -->
+ <text x="5" y="7" fill="black" font-family="Arial">Test "disable" value of </text>
+ <text x="5" y="14" fill="black" font-family="Arial">zoomAndPan attribute.</text>
+ <g fill="black" stroke="blue" stroke-width="1">
+ <circle cx="20" cy="32" r="10"/>
+ <circle cx="30" cy="32" r="10"/>
+ <circle cx="60" cy="32" r="10"/>
+ <circle cx="50" cy="32" r="10"/>
+ <circle cx="40" cy="32" r="10"/>
+ </g>
+ </g>
+ <text id="revision" x="4" y="56" font-size="7" stroke="none" fill="black">$Revision: 1.5 $</text>
+ <rect id="test-frame" x="1" y="1" width="79" height="59" fill="none" stroke="#000000"/>
+</svg>