tests/arthur/data/1.1/painting-fill-02-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-fill-BE-01.svg                                                  -->
       
    13 <!-- renamed for 1.1 suite to painting-fill-01-f.svg                       -->
       
    14 <!-- renamed for SVGT/B to painting-fill-02-t.svg                        -->
       
    15 <!--                                                                       -->
       
    16 <!-- Test that viewer has the basic capability to handle the fill          -->
       
    17 <!-- properties within 'style' attributes.                                 -->
       
    18 <!--                                                                       -->
       
    19 <!--                                                                       -->
       
    20 <!-- Author : Kevin McCluskey,   9-Feb-2000                                -->
       
    21 <!--          1.1 revision by Rick Graham                                  -->
       
    22 <!--          Revised for SVGT/B: Benoit Bezaire Jul/02/2002               -->
       
    23 <!--                                                                       -->
       
    24 <!-- History:                                                              -->
       
    25 <!--   9-Feb-2000, KM, Serial#2 created.  Matches 20000202 SVG spec.       -->
       
    26 <!--  27-feb-2000, LH, Ser#3, remove extra </g>, fixed name ("paint-").    -->
       
    27 <!--  12-Mar-2000, LH, fix test-framing rect; ser#4                        -->
       
    28 <!--  28-Mar-2000, LH, fix gradient test; ser#5                            -->
       
    29 <!--  19-May-2000, LH, comment out ICC stuff, pending correct code; ser#6. -->
       
    30 <!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .         -->
       
    31 <!--  08-Sep-2000, JF: add missing logic for icc colors, update ser#=7 .   -->
       
    32 <!--  14-Dec-2000, JF: added explicit gradientUnits='userSpaceOnUse'       -->
       
    33 <!--                                                                       -->
       
    34 <!-- ===================================================================== -->
       
    35 <!--======================================================================-->
       
    36 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
       
    37 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
       
    38 <!--======================================================================-->
       
    39 
       
    40 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
       
    41     <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
       
    42 		<OperatorScript version="$Revision: 1.5 $" testname="painting-fill-01-t-b.svg">
       
    43 			<Paragraph>
       
    44 				The test uses the fill:currentColor property.
       
    45 			</Paragraph>
       
    46 			<Paragraph>
       
    47 				The rectangle on the left should be green filled, the rectangle on the right should be blue. 
       
    48 				The text above the rectangles should be black.
       
    49 			</Paragraph>
       
    50         </OperatorScript>
       
    51     </SVGTestCase>
       
    52     <title id="test-title">painting-fill-02-t.svg</title>
       
    53     <desc id="test-desc">
       
    54     Test that viewer has the basic capability to handle the &lt;fill,fill-rule,fill-opacity properites&gt;
       
    55   </desc>
       
    56     <!--======================================================================-->
       
    57     <!--Content of Test Case follows...                  =====================-->
       
    58     <!--======================================================================-->
       
    59     <g id="test-body-content" color="green">
       
    60 
       
    61     <text font-family="Arial" font-size="36"  x="30" y="42">Basic paint: fill properties.</text>
       
    62 	<text font-family="Arial" font-size="36"  x="100" y="80">fill="currentColor"</text>
       
    63    
       
    64 <!-- ====================================================================== -->
       
    65 <!-- Second set of rectangles with fill:currentColor                        -->
       
    66 <!-- ====================================================================== -->
       
    67 
       
    68     <rect id="fill-03" fill="currentColor" stroke="#000000"  x="75" y="110" width="100" height="140"/>
       
    69     <rect id="fill-04" color="blue" fill="currentColor" stroke="#000000"  x="275" y="110" width="100" height="140"/>
       
    70 
       
    71     <text font-family="Arial" font-size="36"  x="80" y="280">green</text>
       
    72     <text font-family="Arial" font-size="36"  x="290" y="280">blue</text>
       
    73 
       
    74   </g>
       
    75 
       
    76 
       
    77 	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
       
    78 	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
       
    79 </svg>
       
    80