tests/arthur/data/1.1/interact-zoom-01-t.svg
changeset 0 1918ee327afb
child 7 f7bc934e204c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
       
     3 <!--======================================================================-->
       
     4 <!--=  Copyright 2000, 2002 World Wide Web Consortium, (Massachusetts    =-->
       
     5 <!--=  Institute of Technology, Institut National de Recherche en        =-->
       
     6 <!--=  Informatique et en Automatique, Keio University). All Rights      =-->
       
     7 <!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
       
     8 <!--======================================================================-->
       
     9 <!-- =====================================================================-->
       
    10 <!--                                                                      -->
       
    11 <!-- interact-zoomPan-BE-01.svg                                           -->
       
    12 <!-- renamed for 1.1 suite to interact-zoom-01-f.svg		              -->
       
    13 <!-- renamed for SVGT/B to interact-zoom-01-t.svg                         -->
       
    14 <!--                                                                      -->
       
    15 <!-- Basic test of zoomAndPan attribute, "disable" value.  (Based on      -->
       
    16 <!-- code extracted from coordSystem-units-BE-03 test.)                   -->
       
    17 <!--                                                                      -->
       
    18 <!-- Author : Lofton Henderson                                            -->
       
    19 <!--          1.1 revision by Thomas DeWeese 5-Feb-2002                   -->
       
    20 <!--          Revised for SVGT/B: Benoit Bezaire Jul/08/2002              -->
       
    21 <!--                                                                      -->
       
    22 <!-- History:                                                             -->
       
    23 <!--  06-Aug-2000, LH:  created                                           -->
       
    24 <!--                                                                      -->
       
    25 <!-- =====================================================================-->
       
    26 <!--======================================================================-->
       
    27 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
       
    28 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
       
    29 <!--======================================================================-->
       
    30 <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">
       
    31   <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
       
    32     <OperatorScript version="$Revision: 1.5 $" testname="interact-zoom-01-t.svg">
       
    33       <Paragraph>
       
    34 Verify correct handling by Dynamic (interactive) viewers for the
       
    35 "zoomAndPan" attribute on the 'svg' element.  This is one of a pair of
       
    36 tests, and tests the value "disable".
       
    37          </Paragraph>
       
    38       <Paragraph>
       
    39 The test consists of a set of black circles with a  blue stroke.  </Paragraph>
       
    40       <Paragraph>
       
    41 After the initial picture is displayed, the user should attempt to use
       
    42 the magnify controls that are required on conforming Dynamic SVG
       
    43 viewers.  The correct behaviour is that the magnify and pan controls
       
    44 shall have no effect -- the viewer shall disable them.
       
    45          </Paragraph>
       
    46       <Paragraph>
       
    47 The rendered picture should match the reference image, except for
       
    48 possible variations in the labelling text (per CSS2 rules).
       
    49          </Paragraph>
       
    50     </OperatorScript>
       
    51   </SVGTestCase>
       
    52   <title id="test-title">interact-zoom-01-t</title>
       
    53   <desc id="test-desc">Test "disable" value of zoomAndPan attribute.</desc>
       
    54   <!--===============================================================-->
       
    55   <!--Content of Test Case follows...                  ==============-->
       
    56   <!--===============================================================-->
       
    57   <g id="test-body-content" font-size="6">
       
    58     <!-- Title -->
       
    59     <text x="5" y="7" fill="black" font-family="Arial">Test "disable" value of </text>
       
    60     <text x="5" y="14" fill="black" font-family="Arial">zoomAndPan attribute.</text>
       
    61     <g fill="black" stroke="blue" stroke-width="1">
       
    62       <circle cx="20" cy="32" r="10"/>
       
    63       <circle cx="30" cy="32" r="10"/>
       
    64       <circle cx="60" cy="32" r="10"/>
       
    65       <circle cx="50" cy="32" r="10"/>
       
    66       <circle cx="40" cy="32" r="10"/>
       
    67     </g>
       
    68   </g>
       
    69   <text id="revision" x="4" y="56" font-size="7" stroke="none" fill="black">$Revision: 1.5 $</text>
       
    70   <rect id="test-frame" x="1" y="1" width="79" height="59" fill="none" stroke="#000000"/>
       
    71 </svg>