tkormann 02/04/15 01:51:18 Modified: test-resources/org/apache/batik/test samplesRendering.xml Added: samples/tests/spec/scripting nestedsvg.svg test-references/samples/tests/spec/scripting nestedsvg.png Log: add a new test that add a nested svg element on 'onload' Revision Changes Path 1.1 xml-batik/samples/tests/spec/scripting/nestedsvg.svg Index: nestedsvg.svg =================================================================== <?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"> <!-- ====================================================================== --> <!-- Copyright (C) The Apache Software Foundation. All rights reserved. --> <!-- --> <!-- This software is published under the terms of the Apache Software --> <!-- License version 1.1, a copy of which has been included with this --> <!-- distribution in the LICENSE file. --> <!-- ====================================================================== --> <!-- ====================================================================== --> <!-- append child test --> <!-- --> <!-- @author [EMAIL PROTECTED] --> <!-- @version $Id: nestedsvg.svg,v 1.1 2002/04/15 08:51:18 tkormann Exp $ --> <!-- ====================================================================== --> <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>nested svg element</title> <script type="text/ecmascript"><![CDATA[ function build(evt) { var g = evt.target; var svg = g.ownerDocument.getElementById('svg'); g.appendChild(svg); } ]]></script> <defs> <svg id="svg"> <rect x="10%" y="10%" width="80%" height="80%" style="fill:crimson" /> </svg> </defs> <g> <g onload="build(evt)" id="test-content"> </g> </g> </svg> 1.1 xml-batik/test-references/samples/tests/spec/scripting/nestedsvg.png <<Binary file>> 1.64 +2 -1 xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml Index: samplesRendering.xml =================================================================== RCS file: /home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- samplesRendering.xml 21 Mar 2002 13:41:31 -0000 1.63 +++ samplesRendering.xml 15 Apr 2002 08:51:18 -0000 1.64 @@ -8,7 +8,7 @@ <!-- ========================================================================= --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: samplesRendering.xml,v 1.63 2002/03/21 13:41:31 tkormann Exp $ --> +<!-- @version $Id: samplesRendering.xml,v 1.64 2002/04/15 08:51:18 tkormann Exp $ --> <!-- ========================================================================= --> <testSuite id="samplesRendering" name="samples and samples/test Rendering" class="org.apache.batik.test.svg.SamplesRenderingTest"> @@ -270,6 +270,7 @@ <test id="samples/tests/spec/scripting/fill.svg" /> <test id="samples/tests/spec/scripting/visibility.svg" /> <test id="samples/tests/spec/scripting/textProperties.svg" /> + <test id="samples/tests/spec/scripting/nestedsvg.svg" /> </testGroup> </testSuite>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]