| <?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"> |
| <svg version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 80 60" |
| zoomAndPan="magnify" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| <!--======================================================================--> |
| <!--= 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/. =--> |
| <!--======================================================================--> |
| <!-- NOTE: CVS will automatically update the --> |
| <!-- "$RCSfile: interact-zoom-01-t.svg,v $" and "$Revision: 1.6 $" --> |
| <!-- fields in the file. --> |
| <!-- There is no need to update this information. --> |
| <!-- =====================================================================--> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="[reviewer]" owner="CL" desc="Check that zooming and panning is supported" status="created" version="$Revision: 1.6 $" testname="$RCSfile: interact-zoom-01-t.svg,v $"> |
| <OperatorScript> |
| <Paragraph> |
| Verify correct handling by Dynamic (interactive) viewers for the |
| "zoomAndPan" attribute on the 'svg' element. This is the first of three |
| tests, and tests the default value. |
| </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 magnification and panning works |
| correctly, as required by a conformant viewer.. |
| </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">$RCSfile: interact-zoom-01-t.svg,v $</title> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <g font-size="6"> |
| <text x="5" y="7" fill="black" font-family="Arial">Test default 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> |
| </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="#000"/> |
| </svg> |