Bug 34151 - [V8] Missing declaration for feMorphology in V8DOMWrapper
Summary: [V8] Missing declaration for feMorphology in V8DOMWrapper
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 19:47 PST by Garret Kelly
Modified: 2010-01-26 01:40 PST (History)
3 users (show)

See Also:


Attachments
Proposed patch (1.03 KB, patch)
2010-01-25 19:49 PST, Garret Kelly
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.