RESOLVED FIXED 5974
<foreignObject> is unimplemented
https://bugs.webkit.org/show_bug.cgi?id=5974
Summary <foreignObject> is unimplemented
Eric Seidel (no email)
Reported 2005-12-06 04:20:40 PST
<foreignObject> is unimplemented This would be trivial to implement (given our already working CDF support), I just haven't found the time. To fix this, one would have to do the following: 1. Implement a simple SVGForeignObjectElementImpl which returns a standard RenderBlock as its renderer. 2. Find all the places in the code where SVGNames::foreignObjectTag has been commented out, and add those back. 3. One may also need to exten the standard RenderBlock just a bit in order to have it support applying arbitrary filters or other svg specific properties (if those are required by the spec, you'll have to check).
Attachments
Implements foreignObject (and makes a couple other fixes to related code) (26.20 KB, patch)
2006-01-13 03:52 PST, Eric Seidel (no email)
darin: review+
Eric Seidel (no email)
Comment 1 2006-01-08 02:16:44 PST
This should be no harder than <text> which maciej just landed. ( http://bugzilla.opendarwin.org/ show_bug.cgi?id=4883 )
Eric Seidel (no email)
Comment 2 2006-01-13 03:52:40 PST
Created attachment 5641 [details] Implements foreignObject (and makes a couple other fixes to related code)
Eric Seidel (no email)
Comment 3 2006-01-13 03:53:29 PST
Comment on attachment 5641 [details] Implements foreignObject (and makes a couple other fixes to related code) This is still woefully in need of some test cases. But the patch works and thus can stand for review now.
Darin Adler
Comment 4 2006-01-13 07:44:23 PST
Comment on attachment 5641 [details] Implements foreignObject (and makes a couple other fixes to related code) Do lines like this one: + totalTransform.invert().map((double)_x, (double)_y, &localX, &localY); really need type casts? Looks good, r=me.
Eric Seidel (no email)
Comment 5 2006-01-15 00:23:48 PST
Landed w/ a bunch of test cases.
Note You need to log in before you can comment on or make changes to this bug.