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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 3 13:31:10 PST 2008


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #5 from eric at webkit.org  2008-03-03 13:31 PDT -------
SVG's feature strings are awful.  They require you to implement the 400 of the
405 pages of the spec before you can claim any one of the more useful feature
strings.

This is at least the 3rd bug we've had filed about our feature strings.  We
used to claim to support SVG static until someone filed a bug after 3.0 shipped
arguing that we shouldn't claim to support static if we don't support fonts,
filters, etc..... which was true at the time.  Currently our filter support is
broken and we're missing a few other tiny parts, so we don't claim svg static
support yet.

See:
http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/dom/DOMImplementation.cpp#L102

I suggest you test against a couple of the individual strings for now.  if a
browser claims to support
hasFeature("http://www.w3.org/tr/svg11/feature#BasicShapes", "1.1") you can
probably assume it supports enough SVG for your purposes.

*** This bug has been marked as a duplicate of 10297 ***


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