49 lines
3.1 KiB
XML
49 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--======================================================================-->
|
|
<!--= 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/. =-->
|
|
<!--======================================================================-->
|
|
<!-- ===================================================================== -->
|
|
<!-- -->
|
|
<!-- struct-svg-03-t -->
|
|
<!-- -->
|
|
<!-- Author : Vincent Hardy 23/09/03 -->
|
|
<!-- -->
|
|
<!-- History: -->
|
|
<!-- 23-sep-2003, VH created -->
|
|
<!-- --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" preserveAspectRatio="xMidYMid meet">
|
|
<SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewed="no" reviewer="CN" owner="VH" desc="validates svg element with no viewbox" status="accepted" version="$Revision: 1.7 $" testname="$RCSfile: struct-frag-04-t.svg,v $">
|
|
<OperatorScript>
|
|
<Paragraph>
|
|
This test validates the operation of the svg element when there is no
|
|
viewbox.
|
|
</Paragraph>
|
|
<Paragraph>
|
|
The document's size is 480 by 360 with an x/y origin
|
|
in (1000, 1000). Because x/y are ignored on the root svg element,
|
|
the x/y origin should have no effect on the drawing.
|
|
</Paragraph>
|
|
<Paragraph>
|
|
The document contains squares and circles between the
|
|
(100,100) and (200, 200) coordinates. Changing the viewport
|
|
size should have no effect on the placement or scale of
|
|
the document's conten.
|
|
</Paragraph>
|
|
</OperatorScript>
|
|
</SVGTestCase>
|
|
|
|
<rect x="100" y="100" width="50" height="50" fill="rgb(220, 20, 60)"/>
|
|
<rect x="150" y="150" width="50" height="50" fill="rgb(220, 20, 60)"/>
|
|
|
|
<circle cx="125" cy="175" r="25" fill="rgb(255, 215, 0)"/>
|
|
<circle cx="175" cy="125" r="25" fill="rgb(255, 215, 0)"/>
|
|
|
|
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
|
|
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|
|
|
</svg>
|