Debian Codegraph @

test_non_regression/fail/na/interaction/interact-zoom-02-t.svg

raw
1 <svg version="1.1" baseProfile="tiny" zoomAndPan="magnify" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="CM" author="CL" status="accepted"
15 version="$Revision: 1.6 $" testname="$RCSfile: interact-zoom-02-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/interact.html#EnableZoomAndPanControls">
17 <p>
18 Verify correct handling by Dynamic (interactive) viewers for the
19 "zoomAndPan" attribute on the 'svg' element. This is the second of three
20 tests, and tests the value "magnify".
21 </p>
22 <p>
23 The test consists of a set of black circles with a blue stroke.
24 </p>
25 </d:testDescription>
26 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
27 <p>
28 After the initial picture is displayed, the user should attempt to use
29 the magnify controls that are required on conforming Dynamic SVG
30 viewers.
31 </p>
32 </d:operatorScript>
33 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
34 <p>
35 The correct behaviour is that magnification and panning works
36 correctly, as required by a conformant viewer.
37 </p>
38 </d:passCriteria>
39 </d:SVGTestCase>
40 <title id="test-title">$RCSfile: interact-zoom-02-t.svg,v $</title>
41 <defs>
42 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
43 <font-face-src>
44 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
45 </font-face-src>
46 </font-face>
47 </defs>
48 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
49 <g font-size="6">
50 <text x="5" y="7" fill="black" font-family="Arial">Test "magnify" value of </text>
51 <text x="5" y="14" fill="black" font-family="Arial">zoomAndPan attribute.</text>
52 <g fill="black" stroke="blue" stroke-width="1">
53 <circle cx="20" cy="32" r="10"/>
54 <circle cx="30" cy="32" r="10"/>
55 <circle cx="60" cy="32" r="10"/>
56 <circle cx="50" cy="32" r="10"/>
57 <circle cx="40" cy="32" r="10"/>
58 </g>
59 </g>
60 </g>
61 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
62 <text id="revision" x="10" y="340" stroke="none"
63 fill="black">$Revision: 1.6 $</text>
64 </g>
65 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
66 <!-- comment out this watermark once the test is approved -->
67 <!--<g id="draft-watermark">
68 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
69 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
70 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
71 </g>-->
72 </svg>