blob: 8c8de3b01eeaffa733e1827b1f1adb207468aca1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.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/. = -->
<!--====================================================================== -->
<!-- ===================================================================== -->
<!-- -->
<!-- $RCSfile: text-text-08-b.svg,v $ -->
<!-- -->
<!-- Author : Scott Hayman -->
<!-- -->
<!-- ===================================================================== -->
<svg version="1.1" baseProfile="basic" 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/"
version="$Revision" testname="$RCSfile: text-text-08-b.svg,v $" owner="SH" reviewer="DJ"
status="accepted" desc="tests text opacity properties">
<OperatorScript>
<Paragraph>
The three opacity properties (fill-opacity,
stroke-opacity, and opacity) of 'text' elements are
covered in this test.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">text-text-08-b</title>
<desc id="test-desc">Test for opacity properties of 'text' elements.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="19" y="60" font-size="64" font-family="Verdana"
fill="blue" stroke="red" stroke-width="2">Normal Text</text>
<text x="19" y="120" font-size="64" font-family="Verdana"
fill="blue" stroke="red" stroke-width="2"
fill-opacity="0.50">Fill opacity</text>
<text x="19" y="180" font-size="64" font-family="Verdana"
fill="blue" stroke="red" stroke-width="2"
stroke-opacity="0.50">Stroke opacity</text>
<text x="19" y="240" font-size="64" font-family="Verdana"
fill="blue" stroke="red" stroke-width="2"
opacity="0.50">Opacity</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
<script>
if (window.layoutTestController)
window.layoutTestController.dumpSelectionRect();
document.execCommand("SelectAll");
</script>
</svg>