blob: 7f3c0dd1e8dfd1fdd5a60bae8667a48537415a3f [file]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- ========================================================================= -->
<!-- Test 'visibility' property inheritance -->
<!-- -->
<!-- @author tkormann@apache.org -->
<!-- @version $Id$ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
<title>Test zero length on various shapes</title>
<!-- ============================================================= -->
<!-- Test content -->
<!-- ============================================================= -->
<g id="testContent">
<text x="225" y="30" class="title">Test zero length on various shapes</text>
<text x="225" y="50" class="title">Value of zero disables rendering of the elements</text>
<!-- dashboard -->
<g style="stroke:black; fill:none">
<rect x="40" y="80" width="360" height="120" />
<rect x="40" y="200" width="360" height="120" />
<rect x="40" y="320" width="360" height="120" />
</g>
<g style="fill:rgb(240, 240, 240); stroke:black;">
<rect x="40" y="80" width="20" height="120" />
<rect x="40" y="200" width="20" height="120" />
<rect x="40" y="320" width="20" height="120" />
<g style="stroke:none; fill:black; font-size:12pt; font-family: Arial">
<text transform="translate(55, 170) rotate(-90)">&lt;rect></text>
<text transform="translate(55, 290) rotate(-90)">&lt;circle></text>
<text transform="translate(55, 410) rotate(-90)">&lt;ellipse></text>
</g>
</g>
<!-- ########### rect ############# -->
<g style="stroke:none; fill:crimson">
<rect x="90" y="95" width="0" height="80" />
<rect x="190" y="95" width="80" height="0" />
<rect x="290" y="95" width="0" height="0" />
</g>
<g style="stroke:none; fill:black; font-size:12; font-family: Arial; text-anchor:middle">
<text x="130" y="194">width="0"</text>
<text x="230" y="194">height="0"</text>
<text x="330" y="194">width &amp; height="0"</text>
</g>
<!-- ########### circle ############# -->
<g style="stroke:none; fill:crimson">
<circle cx="225" cy="255" r="0"/>
</g>
<g style="stroke:none; fill:black; font-size:12; font-family: Arial; text-anchor:middle">
<text x="225" y="314">r="0"</text>
</g>
<!-- ########### ellipse ############# -->
<g style="stroke:none; fill:crimson">
<ellipse cx="130" cy="365" rx="0" ry="30" />
<ellipse cx="230" cy="365" rx="40" ry="0" />
<ellipse cx="330" cy="365" rx="0" ry="0" />
</g>
<g style="stroke:none; fill:black; font-size:12; font-family: Arial; text-anchor:middle">
<text x="130" y="415">rx="0"</text>
<text x="230" y="415">ry="0"</text>
<text x="330" y="415">rx &amp; ry="0"</text>
</g>
</g>
</svg>