72 lines
4.4 KiB
XML
72 lines
4.4 KiB
XML
|
<?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>
|