Not in IE8 with Adobe, I get an error.

 

From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com]
On Behalf Of Andreas
Sent: Donnerstag, 25. November 2010 19:06
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: hasFeature doesn't work with Filter

 

  

That works, but what is

/SVGFE/.test ?

I changed my example:
http://labs.pixelfans.de/Twitterbird2_withJS.svg

--- In svg-developers@yahoogroups.com
<mailto:svg-developers%40yahoogroups.com> , "Erik Dahlstrom" <e...@...> wrote:
>
> On Thu, 25 Nov 2010 12:26:49 +0100, Chris Peto 
> <svg...@...> 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
>





[Non-text portions of this message have been removed]



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

-----
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