Hi Mark,

You're quite right of course. This would be the *real* way to do it,
and Mozilla happily returns true for both tests. Opera doesn't support
scripting of SVG (yet) I believe, so the test won't work for it, but
as far as *script* testing goes this is definately the way to do it.

Thanks!
Jonathan


On 7/28/05, Mark Birbeck <[EMAIL PROTECTED]> wrote:
> Dear all,
> 
> We shouldn't really have to check for the existence of methods, etc. An HTML
> DOM that can have SVG inline should really return true for one of:
> 
>   document.implementation.hasFeature("org.w3c.dom.svg", "1.0")
> 
> or:
> 
> 
> document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVG";,
> "1.1")
> 
> I haven't tried it, but I would say that's what Opera and Mozilla _should_
> provide (and may well do).
> 
> Regards,
> 
> Mark


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to