[Webkit-unassigned] [Bug 17400] hasFeature Broken (WebKit claims it does not support SVG)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 21 01:12:32 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17400





------- Comment #2 from cfis at savagexi.com  2008-02-21 01:12 PDT -------
Well, a few thoughts:

This is a change from Safari 3.0.4, which returned true.  Why would 3.1 now
return false?

This change did break our site, http://www.mapbuzz.com.  We use hasFeature to
detect whether a browser supports SVG or not.  If it does not, we assume the
browser is IE and we switch to VML.  Safari 3.1 broke that, so now we have to
add in an extra kludge to see if the browser is safari, check the version, and
act accordingly.  That seems like much more of a kludge then using hasFeature.

Also, from what we can see, Safari supports as much SVG as Firefox and Opera
and both return true for hasFeature, so it seems reasonable for Safari to do
the same.

Last, the SVG spec does allow browser makes to describe in detail what parts of
the SVG spec they do support.  As I'm sure you've seen:

http://www.w3.org/TR/SVG/feature.html

It does seem like this is what hasFeature is meant for...

Thanks for the help.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list