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%"
<!--======================================================================-->
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, European Research Consortium for =-->
<!--= Informatics and Mathematics (ERCIM), Keio University). =-->
<!--= All Rights Reserved. =-->
<!--======================================================================-->
reviewer="NR" owner="AE" desc="Test solidColor paint server." status="accepted"
approved="yes"
version="$Revision: 1.5 $" testname="$RCSfile: paint-other-201-t.svg,v $">
<d:OperatorScript xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/1999/xhtml">
<p>Test solidColor paint server with 'solid-opacity' attribute.</p>
<p>
There are three 'solidColor' definitions - red, green, blue.
These are used for both the fill and outlines of the rectangle and circle.
</p>
</d:OperatorScript>
</SVGTestCase>
<title xml:id="test-title">$RCSfile: paint-other-201-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">
<g text-anchor="middle" font-size="10" fill="#555">
<text xml:id="display-title" x="240" y="30" font-size="14" fill="#000">Solid Color Paint Server</text>
<text xml:id="comment-1" x="240" y="45">
There are three 'solidColor' definitions - red, green, blue.
</text>
<text xml:id="comment-2" x="240" y="57">
These are used for both the fill and outlines of the rectangle and circle.
</text>
</g>
<defs>
<solidColor xml:id="solidRed" solid-color="red"/>
<solidColor xml:id="solidGreen" solid-color="green"/>
<solidColor xml:id="solidBlue" solid-color="blue"/>
</defs>
<g transform="scale(0.85),translate(43,40)">
<rect x="190" y="50" width="180" height="220" fill="url(#solidRed)" stroke="url(#solidBlue)" stroke-width="12"/>
<circle cx="190" cy="160" r="80" fill="none" stroke="url(#solidGreen)" stroke-width="20"/>
</g>
</g>
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
<text xml:id="revision" x="10" y="340" stroke="none"
fill="black">$Revision: 1.5 $</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">
<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>