| <?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"> |
| |
| <!--======================================================================--> |
| <!--= 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/. =--> |
| <!--======================================================================--> |
| <!-- ===================================================================== --> |
| <!-- --> |
| <!-- shapes-rect-BE-01.svg --> |
| <!-- renamed for 1.1 suite to shapes-rect-01-t.svg --> |
| <!-- --> |
| <!-- Test that viewer has the basic capability to handle the <rect> --> |
| <!-- element. --> |
| <!-- --> |
| <!-- Author : Kelvin R. Lawrence, 3-Feb-2000 --> |
| <!-- --> |
| <!-- History: --> |
| <!-- 3-Feb-2000, KRL, Serial#1 created. Matches 20000202 SVG spec. --> |
| <!-- 27-Feb-2000, LH, Serial#2, fix TC name, formatting, create .XML --> |
| <!-- 12-Mar-2000, LH, fix test-framing rect; ser#3 --> |
| <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . --> |
| <!-- --> |
| <!-- ===================================================================== --> |
| <!--======================================================================--> |
| <!--= Note. After October 2000, revision history is kept as CVS 'commit' =--> |
| <!--= log messages, and therefore is no longer in the preceding preamble.=--> |
| <!--======================================================================--> |
| <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"> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
| <!--nav data here--> |
| <OperatorScript version="$Revision: 1.7 $" testname="shapes-rect-01-t.svg"> |
| <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">shapes-rect-01-t</title> |
| <desc id="test-desc">Test that viewer has the basic capability to handle the <rect> element.</desc> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <!-- ====================================================================== --> |
| <!-- First of all draw two simple rectangles. One stroked , one filled. --> |
| <!-- ====================================================================== --> |
| <rect id="Simple-rect-no-fill" fill="none" stroke="#000000" x="30" y="46" width="50" height="80"/> |
| <rect id="Simple-rect-filled" fill="red" x="130" y="46" width="50" height="80"/> |
| <!-- ====================================================================== --> |
| <!-- Second set of rectangles this time with rounded corners. --> |
| <!-- ====================================================================== --> |
| <rect id="Simple-round-rect-no-fill" fill="none" stroke="#000000" x="250" y="46" width="50" height="80" rx="30"/> |
| <rect id="Simple-round-rect-filled" fill="red" x="350" y="46" width="50" height="80" rx="30"/> |
| <!-- ====================================================================== --> |
| <!-- Third set of rectangles. --> |
| <!-- ====================================================================== --> |
| <rect id="rect-03" fill="none" stroke="#0000FF" stroke-width="8" x="30" y="196" width="50" height="80"/> |
| <rect id="rect-04" fill="#00FF00" stroke="#0000FF" stroke-width="8" x="130" y="196" width="50" height="80"/> |
| <!-- ====================================================================== --> |
| <!-- Fourth set of rectangles. --> |
| <!-- ====================================================================== --> |
| <rect id="rect-05" fill="none" stroke="#0000FF" stroke-width="8" x="250" y="196" width="50" height="80" rx="30" ry="50"/> |
| <rect id="rect-06" fill="#00FF00" x="350" y="196" width="50" height="80" rx="30" ry="50"/> |
| </g> |
| <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text> |
| <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| </svg> |
| |