tests/arthur/data/1.1/painting-stroke-04-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 <!--======================================================================-->
       
     5 <!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
       
     6 <!--=  Institute of Technology, Institut National de Recherche en        =-->
       
     7 <!--=  Informatique et en Automatique, Keio University). All Rights      =-->
       
     8 <!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
       
     9 <!--======================================================================-->
       
    10 <!-- ===================================================================== -->
       
    11 <!--                                                                       -->
       
    12 <!-- paint-stroke-BE-02.svg                                                -->
       
    13 <!-- renamed for 1.1 suite to "painting-stroke-04-t.svg                                -->
       
    14 <!--                                                                       -->
       
    15 <!-- Test that viewer has the basic capability to handle the stroke        -->
       
    16 <!-- properties.                                                           -->
       
    17 <!--                                                                       -->
       
    18 <!--                                                                       -->
       
    19 <!-- Author : Kevin McCluskey,   23-Mar-2000                               -->
       
    20 <!--          1.1 revision by Rick Graham                                  -->
       
    21 <!--                                                                       -->
       
    22 <!-- History:                                                              -->
       
    23 <!--   23-Mar-2000, KMM, Serial#3 created.  Matches 20000202 SVG spec.     -->
       
    24 <!--   28-Mar-2000, LH=" fix names" reposition/rescale; ser#4.              -->
       
    25 <!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .         -->
       
    26 <!--                                                                       -->
       
    27 <!-- ===================================================================== -->
       
    28 <!--======================================================================-->
       
    29 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
       
    30 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
       
    31 <!--======================================================================-->
       
    32 <svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
       
    33     <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
       
    34 		<OperatorScript version="$Revision: 1.8 $" testname="painting-stroke-01-f.svg">
       
    35 			<Paragraph>
       
    36 				Verify the dasharray and dashoffset properties. Two lines are drawn, one red 
       
    37 				and one black. Both have a dasharray of 10,10 giving a dashed appearance 
       
    38 				where the size of the gaps and the size of the dash is equal. The help show this, 
       
    39 				the black line has a stroke-dashoffset so that the dashes in the black line match 
       
    40 				up with the gaps in the red line.			
       
    41 			</Paragraph>
       
    42 			<Paragraph>
       
    43 				The rendered picture should match the reference image, except for possible
       
    44 				variations in the labelling text (per CSS2 rules).  
       
    45 			</Paragraph>
       
    46 			<Paragraph>
       
    47 				The test uses the 'path' element, stroke,  stroke-width, stroke-dasharray and stroke-dashoffset, 
       
    48 				font-family (Arial) and font-size properties.
       
    49 			</Paragraph>
       
    50         </OperatorScript>
       
    51     </SVGTestCase>
       
    52 	<title id="test-title">painting-stroke-04-t</title>
       
    53 	<desc id="test-desc">Test that viewer has the basic capability to handle the &lt;stroke,stroke-opacity properites&gt;</desc>
       
    54 	<!--======================================================================-->
       
    55 	<!--Content of Test Case follows...                  =====================-->
       
    56 	<!--======================================================================-->
       
    57 	<g id="test-body-content">
       
    58 		<!-- ====================================================================== -->
       
    59 		<!-- Test stroke:dasharray:10, 5 and stroke-opacity                  -->
       
    60 		<!-- ====================================================================== -->
       
    61 		<text font-family="Arial" font-size="36" x="10" y="60">Basic paint: stroke properties.</text>
       
    62 		<path id="stroke-7b" fill="none" stroke="red" stroke-width="25" stroke-dashoffset="0" stroke-dasharray="10,10"  d="M 50 120 L 430 120"/>
       
    63 		<path id="stroke-7c" fill="none" stroke="black" stroke-width="25" stroke-dashoffset="10" stroke-dasharray="10,10"  d="M 50 140 L 430 140"/>
       
    64 		<text font-family="Arial" font-size="30" x="65" y="210">stroke:dasharray:10, 10</text>
       
    65 		<text font-family="Arial" font-size="30" x="75" y="260">stroke:dashoffset:10</text>
       
    66 	</g>
       
    67 
       
    68 	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
       
    69 	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
       
    70 </svg>
       
    71