1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!--======================================================================-->
3 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
4 <!--= Institute of Technology, Institut National de Recherche en =-->
5 <!--= Informatique et en Automatique, Keio University). All Rights =-->
6 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
7 <!--======================================================================-->
8 <!-- ===================================================================== -->
10 <!-- struct-svg-03-t -->
12 <!-- Author : Vincent Hardy 23/09/03 -->
15 <!-- 23-sep-2003, VH created -->
16 <!-- --><!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
18 <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">
19 <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 $">
22 This test validates the operation of the svg element when there is no
26 The document's size is
480 by
360 with an x/y origin
27 in (
1000,
1000). Because x/y are ignored on the root svg element,
28 the x/y origin should have no effect on the drawing.
31 The document contains squares and circles between the
32 (
100,
100) and (
200,
200) coordinates. Changing the viewport
33 size should have no effect on the placement or scale of
34 the document's conten.
39 <rect x=
"100" y=
"100" width=
"50" height=
"50" fill=
"rgb(220, 20, 60)"/>
40 <rect x=
"150" y=
"150" width=
"50" height=
"50" fill=
"rgb(220, 20, 60)"/>
42 <circle cx=
"125" cy=
"175" r=
"25" fill=
"rgb(255, 215, 0)"/>
43 <circle cx=
"175" cy=
"125" r=
"25" fill=
"rgb(255, 215, 0)"/>
45 <text id=
"revision" x=
"10" y=
"340" font-size=
"40" stroke=
"none" fill=
"black">$Revision:
1.7 $
</text>
46 <rect id=
"test-frame" x=
"1" y=
"1" width=
"478" height=
"358" fill=
"none" stroke=
"#000000"/>