<
svg id="svg-root"
width="450"
height="450" xmlns:xlink="
http://www.w3.org/1999/xlink" xmlns="
http://www.w3.org/2000/svg" >
<
title id="test-title">masking-clipRule-BE-03</
title>
<
desc id="test-desc">Test to see if clip-rule property has been implemented properly.</
desc>
<
g id="test-body-content">
<
text style="
font-family:Helvetica;
font-size:14;"
x="150"
y="20">Test for clip-rule property.</
text>
<
clipPath id="clip1">
<
path style="
clip-rule:evenodd;"
d="M200,60l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>
</
clipPath>
<
rect x="50"
y="50"
width="350"
height="100"
style="
fill:red;
clip-path:url(#clip1);"/>
<
text style="
font-family:Helvetica;
font-size:12;"
x="100"
y="170">clip-rule=evenodd</
text>
<
clipPath id="clip2">
<
path style="
clip-rule:nonzero;"
d="M200,210l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>
</
clipPath>
<
rect x="50"
y="200"
width="350"
height="100"
style="
fill:blue;
clip-path:url(#clip2);"/>
<
text style="
font-family:Helvetica;
font-size:12;"
x="100"
y="320">cliprule=nonzero</
text>
</
g>
<
g id="test-legend"
style="
fill:black;
font-family:Helvetica;
font-size:10;">
<
rect x="10"
y="390"
width="275"
height="50"
style="
fill:none;
stroke:#000000;"/>
<
path style="
fill:none;
stroke:#000000;"
d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
<
text x="25"
y="401">Scalable Vector Graphics (SVG) Conformance Suite</
text>
<
a xlink:href="copyright-documents-19990405.html">
<
text x="12"
y="437"
style="
fill:blue;">Copyright 2000 W3C. All Rights Reserved.</
text>
</
a>
<
text style="
font-size:12;"
x="35"
y="420">masking-clipRule-BE-03</
text>
<
text style="
font-size:10;"
x="210"
y="417">$Revision: 1.1 $</
text>
<
text style="
font-size:10;"
x="210"
y="435">Release 2.0</
text>
<
rect id="test-frame"
x="1"
y="1"
width="448"
height="448"
style="
fill:none;
stroke:#000000;"/>
</
g>
</
svg>