~inkscape.dev/inkscape-rendertest/trunk

« back to all changes in this revision

Viewing changes to testcases/svgtestsuite-1.1/struct-group-02-b.svg

  • Committer: Johan B. C. Engelen
  • Date: 2014-11-10 22:38:05 UTC
  • Revision ID: j.b.c.engelen@alumnus.utwente.nl-20141110223805-e169xbwzmdhh0y6p
Start new repository as a copy of the SVN GSoC render testsuite

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
 
3
 
 
4
<!--======================================================================-->
 
5
<!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
 
6
<!--=  Institute of Technology, Institut National de Recherche en        =-->
 
7
<!--=  Informatique et en Automatique, Keio University). All Rights      =-->
 
8
<!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
 
9
<!--======================================================================-->
 
10
<!-- =====================================================================-->
 
11
<!--                                                                      -->
 
12
<!-- structure-nested-BE-02.svg                                           -->
 
13
<!-- renamed for 1.1 suite to struct-group-02-b.svg                       -->
 
14
<!--                                                                      -->
 
15
<!--                                                                      -->
 
16
<!-- Author : Tim Thompson 3/16/00                                        -->
 
17
<!-- Revised for 1.1 : Phil Armstrong Feb/12/2002                         -->
 
18
<!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002                -->
 
19
<!--                                                                      -->
 
20
<!-- History:                                                             -->
 
21
<!--  20-mar-2000, TGT all testing of nested SVG elements.                -->
 
22
<!--  21-mar-2000, LH=", comment DOCTYPE for now" fix 'title'; serial#2.  -->
 
23
<!--  08-apr-2000, LH=", fix so correct wrt origin of nesteds" serial#3.  -->
 
24
<!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .       -->
 
25
<!--  16-Aug-2000, LH="rename" ser#4.                                     -->
 
26
<!--  15-Nov-2000, LH: add missing test-body-content group.               -->
 
27
<!--                                                                      -->
 
28
<!-- =====================================================================-->
 
29
<!--======================================================================-->
 
30
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
 
31
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
 
32
<!--======================================================================-->
 
33
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
 
34
        <title id="test-title">struct-group-02-b</title>
 
35
        <desc id="test-desc">Test that svg elements nested inside of each other will render correctly</desc>
 
36
        <!--======================================================================-->
 
37
        <!--Content of Test Case follows...                  =====================-->
 
38
        <!--======================================================================-->
 
39
        <g id="test-body-content">
 
40
                <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="lowerRight" x="240" y="180" width="240" height="180">
 
41
                        <rect x="0" y="0" width="240" height="180" fill="red" />
 
42
                </svg>
 
43
                <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="upperRight" x="0" y="0" width="240" height="180">
 
44
                        <rect fill="blue"  x="0" y="0" width="240" height="180"/>
 
45
                        <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="childArea" x="60" y="45" width="120" height="90">
 
46
                                <rect fill="yellow"  x="0" y="0" width="120" height="90"/>
 
47
                        </svg>
 
48
                </svg>
 
49
        </g>
 
50
        <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
 
51
</svg>