Re: SVG 1.1 2nd Edition Test Suite using svgweb (locally)

Hi, Folks-

Patrick Dengler wrote (on 8/16/10 8:50 PM):
>
> http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlSVGWeb_local/index.html
>
> Why is it that the SVG Test Suite has the following:
>
> <!--[if IE]>
>
> <object src="../../svg/animate-dom-01-f.svg" width="480" height="360"
> classid="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p>
>
> <![endif]-->
>
> <!--[if !IE]>-->
>
> <object data="../../svg/animate-dom-01-f.svg" width="480" height="360"
> type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p>
>
> <!--<![endif]-->

That's the special branch for SVGWeb, which needs special consideration. 
  For most purposes, everyone should be looking at one of the non-SVGWeb 
forks [1].


> We don’t believe that classid="image/svg+xml" is valid syntax, nor do we
> think this is being vendor agnostic.

I'm not so sure that it's invalid syntax [2], though it is certainly a 
hack.  To be fair, this is targeted at versions of IE that don't have 
SVG support, so I don't think it's unreasonable.

However, since SVGWeb also works with Firefox, Chrome, and Safari (in 
order to provide a consistent experience cross-browser), I see no reason 
we should specifically single out IE.  Maybe whoever put the harness 
together could speak to that?


[1] http://dev.w3.org/SVG/profiles/1.1F2/test/harness/
[2] http://www.w3.org/TR/REC-html40/struct/objects.html#adef-classid

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs

Received on Tuesday, 17 August 2010 03:48:27 UTC