W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2009

SVGWeb harness sample for 1.1 test suite

From: Chris Lilley <chris@w3.org>
Date: Fri, 2 Oct 2009 21:53:35 +0200
Message-ID: <1697570848.20091002215335@w3.org>
To: public-svg-wg@w3.org
Hello public-svg-wg,

 I modified one of the svg 1.1 harness files to enable svgweb. It just required adding one script element at the start, 

<script src="../../src/svg.js" data-path="../../src"></script>

and then duplicating the object element, wrapping each copy in conditional comments (ugh) and renaming two attributes on the iE-specific part.

	<!--[if IE]>
   	<object src="../svggen/animate-elem-02-t.svg" width="480" height="360" classid="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p>
     <!--[if !IE]>-->
   	<object data="../svggen/animate-elem-02-t.svg" width="480" height="360" type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p>

worked fine in IE7.

I just spoke to Anthony and he sees no problem with making another harness (like the object and embed harnesses) so that we can run SVGWeb through the SVG 1.1 testsuite.

I will check svgweb into the appropriate place under 1.1F2/test so that the harness will work once generated.

 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Friday, 2 October 2009 21:50:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:11 UTC