| <?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 the 'requiredFeatures' attribtue combo --> |
| <!-- --> |
| <!-- @author tkormann@ilog.fr --> |
| <!-- @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" width="450" height="500" viewBox="0 0 450 500"> |
| <title>Test the 'requiredFeatures' attribute combo</title> |
| |
| <!-- ============================================================= --> |
| <!-- Test content --> |
| <!-- ============================================================= --> |
| <g id="testContent"> |
| <text x="225" y="50" class="title">Test the 'requiredFeatures' attribute combo</text> |
| |
| <g style="stroke:black; fill:#eee"> |
| <rect x="45" y="80" width="120" height="20" /> |
| <rect x="165" y="80" width="120" height="20" /> |
| <rect x="285" y="80" width="120" height="20" /> |
| |
| <rect x="25" y="100" width="20" height="120" /> |
| <rect x="25" y="220" width="20" height="120" /> |
| <rect x="25" y="340" width="20" height="120" /> |
| </g> |
| <g style="stroke:black; fill:none"> |
| <rect x="45" y="100" width="360" height="360" /> |
| |
| <line x1="165" y1="100" x2="165" y2="460" /> |
| <line x1="285" y1="100" x2="285" y2="460" /> |
| |
| <line x1="45" y1="220" x2="405" y2="220" /> |
| |
| <line x1="45" y1="340" x2="405" y2="340" /> |
| </g> |
| <g style="stroke:none; fill:black; text-anchor:middle"> |
| <text x="105" y="94">org.w3c.svg</text> |
| <text x="225" y="94">org.w3c.svg.static</text> |
| <text x="345" y="94">invalid</text> |
| |
| <text x="0" y="0" transform="translate(40 160) rotate(-90)">org.w3c.svg</text> |
| <text x="0" y="0" transform="translate(40 280) rotate(-90)">org.w3c.svg.static</text> |
| <text x="0" y="0" transform="translate(40 400) rotate(-90)">invalid</text> |
| </g> |
| |
| |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg" /> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg org.w3c.svg.static" transform="translate(120 0)" /> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg invalid" transform="translate(240 0)" /> |
| |
| <g transform="translate(0 120)"> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg.static org.w3c.svg" /> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg.static" transform="translate(120 0)" /> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="org.w3c.svg.static invalid" transform="translate(240 0)" /> |
| </g> |
| |
| <g transform="translate(0 240)"> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="invalid org.w3c.svg"/> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="invalid org.w3c.svg.static" transform="translate(120 0)" /> |
| <rect x="65" y="120" width="80" height="80" style="fill:crimson" requiredFeatures="invalid" transform="translate(240 0)" /> |
| </g> |
| |
| </g> |
| |
| <!-- ============================================================= --> |
| <!-- Batik sample mark --> |
| <!-- ============================================================= --> |
| <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| |
| </svg> |