On Thu, 25 Nov 2010 12:26:49 +0100, Chris Peto  
<svg...@resource-solutions.de> wrote:

> Hi,
>
>
> document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Filte
> r", "1.1")
>
>
> Comes back true in Opera, all others false.

I think in most cases you're better off testing the exposed DOM interfaces  
of the filter primitives that you need, though that's not a 100% guarantee  
either.

Here's one attempt, just paste this into each browser to see what it gives  
back:

     javascript:alert(!!document.createElementNS &&  
/SVGFE/.test(toString.call(document.createElementNS('http://www.w3.org/2000/svg','feConvolveMatrix'))))


Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed


------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

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

Reply via email to