Bug 34151

Summary: [V8] Missing declaration for feMorphology in V8DOMWrapper
Product: WebKit Reporter: Garret Kelly <gdk>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric, krit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch none

Description Garret Kelly 2010-01-25 19:47:36 PST
V8 does not create the proper V8Object for feMorphology elements, which can be witnessed by the following test: alert(document.createElementNS("http://www.w3.org/2000/svg", "feMorphology"));

You'll see that the returned type is [object SVGElement] instead of [object SVGFEMorphologyElement].
Comment 1 Garret Kelly 2010-01-25 19:49:26 PST
Created attachment 47382 [details]
Proposed patch
Comment 2 Eric Seidel (no email) 2010-01-25 20:03:51 PST
Comment on attachment 47382 [details]
Proposed patch

I assume this affects tests?  Otherwise we really should make sure we have a test which touches this part of SVG.
Comment 3 Garret Kelly 2010-01-25 20:13:48 PST
Yes, the svg/dom/operatorAttribute.html test touches this, but only under the V8 build. I only found it because the test was failing under Chromium.
Comment 4 Eric Seidel (no email) 2010-01-25 21:30:46 PST
Comment on attachment 47382 [details]
Proposed patch

Normally we should mention that in the ChangeLog. :)  Even though the results aren't in webkit.org yet.
Comment 5 WebKit Commit Bot 2010-01-26 01:40:44 PST
Comment on attachment 47382 [details]
Proposed patch

Clearing flags on attachment: 47382

Committed r53843: <http://trac.webkit.org/changeset/53843>
Comment 6 WebKit Commit Bot 2010-01-26 01:40:49 PST
All reviewed patches have been landed.  Closing bug.