Revision control

Copy as Markdown

<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
<!--======================================================================-->
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, European Research Consortium for =-->
<!--= Informatics and Mathematics (ERCIM), Keio University). =-->
<!--= All Rights Reserved. =-->
<!--======================================================================-->
reviewer="AN,CN" owner="SH" desc="Test that viewer supports the degenerate cases of the basic shapes" status="accepted"
approved="yes"
version="$Revision: 1.8 $" testname="$RCSfile: shapes-intro-01-t.svg,v $">
<p>Tests the degenerate cases of the basic shapes. The shapes are positioned within the black rectangles.</p>
<p>None of the shapes should be visible (each of the ten black rectangles should be empty). The rendered picture should match the reference image, except for possible variations in the labelling text (per CSS2 rules).</p>
</d:OperatorScript>
</SVGTestCase>
<title xml:id="test-title">$RCSfile: shapes-intro-01-t.svg,v $</title>
<defs>
<font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
<font-face-src>
<font-face-uri xlink:href="../images/SVGFreeSans.svg#ascii" />
</font-face-src>
</font-face>
</defs>
<g xml:id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
<text font-size="12" x="240" y="14" text-anchor="middle">Testing the degenerate cases of the basic shapes; attribute values set to zero.</text>
<!-- ====================================================================== -->
<!-- Draw the boxes to contain the shapes and the text labels for the boxes -->
<!-- ====================================================================== -->
<g fill="none" stroke="#000000">
<!-- rects -->
<rect x="50" y="50" width="35" height="60" />
<rect x="50" y="155" width="35" height="60" />
<rect x="130" y="50" width="35" height="60" />
<rect x="130" y="155" width="35" height="60" />
<!-- circles -->
<rect x="210" y="50" width="60" height="60" />
<rect x="210" y="155" width="60" height="60" />
<!-- ellipses -->
<rect x="315" y="50" width="35" height="60" />
<rect x="315" y="155" width="35" height="60" />
<rect x="394" y="50" width="35" height="60" />
<rect x="394" y="155" width="35" height="60" />
<!-- line -->
<rect x="235" y="260" width="10" height="10" />
</g>
<g font-family="Arial" font-size="8">
<text x="5" y="90">Stroked</text>
<text x="5" y="195">Unstroked</text>
<text x="50" y="135">Zero width rect</text>
<text x="130" y="135">Zero height rect</text>
<text x="210" y="135">Zero radius circle</text>
<text x="315" y="135">Zero x radius ellipse</text>
<text x="394" y="135">Zero y radius ellipse</text>
<text x="235" y="290">Zero length line</text>
</g>
<!-- ====================================================================== -->
<!-- Draw 4 rectangles, two with zero width, two with zero height -->
<!-- (stroked and unstroked) -->
<!-- ====================================================================== -->
<rect xml:id="Zero-width-stroked-rect" fill="none" stroke="#000000" x="55" y="55" width="0" height="50" />
<rect xml:id="Zero-width-unstroked-rect" fill="#FF0000" stroke="none" x="55" y="160" width="0" height="50" />
<rect xml:id="Zero-height-stroked-rect" fill="#00FF00" stroke="#0000FF" x="135" y="55" width="25" height="0" />
<rect xml:id="Zero-height-rect" fill="#00FF00" stroke="none" x="135" y="160" width="25" height="0" />
<!-- ====================================================================== -->
<!-- Draw two zero radius circles (stroked and unstroked) -->
<!-- ====================================================================== -->
<circle xml:id="Zero-radius-stroked-circle" fill="none" stroke="#000000" cx="240" cy="80" r="0" />
<circle xml:id="Zero-radius-unstroked-circle" fill="#FF0000" stroke="none" cx="240" cy="185" r="0" />
<!-- ====================================================================== -->
<!-- Draw 4 ellipses, two with a zero x radius, two with a zero y radius -->
<!-- (stroked and unstroked) -->
<!-- ====================================================================== -->
<ellipse xml:id="Zero-x-radius-stroked-ellipse" fill="#00FF00" stroke="#0000FF" cx="332" cy="80" rx="0" ry="25" />
<ellipse xml:id="Zero-x-radius-unstroked-ellipse" fill="#00FF00" stroke="none" cx="332" cy="185" rx="0" ry="25" />
<ellipse xml:id="Zero-y-radius-stroked-ellipse" fill="none" stroke="#000000" cx="411" cy="80" rx="12" ry="0" />
<ellipse xml:id="Zero-y-radius-unstroked-ellipse" fill="#FF0000" stroke="none" cx="411" cy="185" rx="12" ry="0" />
<!-- ====================================================================== -->
<!-- Draw a zero-length line -->
<!-- ====================================================================== -->
<line xml:id="Zero-length-line" stroke="#0000FF" x1="240" y1="265" x2="240" y2="265" />
</g>
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
<text xml:id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>
</g>
<rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000" />
<!-- comment out this watermark once the test is approved -->
<!--<g xml:id="draft-watermark" fill-opacity="0.5">
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1" />
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
</g>-->
</svg>