RESOLVED FIXED 52513
SVG feDropShadow implementation of SVG Filters 1.2
https://bugs.webkit.org/show_bug.cgi?id=52513
Summary SVG feDropShadow implementation of SVG Filters 1.2
Dirk Schulze
Reported 2011-01-15 11:54:28 PST
SVG feDropShadow implementation of SVG Filters 1.2.
Attachments
Patch (1.06 MB, patch)
2011-01-15 12:58 PST, Dirk Schulze
no flags
Patch (1.07 MB, patch)
2011-01-15 14:56 PST, Dirk Schulze
no flags
Patch (25.37 KB, patch)
2011-04-20 11:02 PDT, Dirk Schulze
no flags
Patch (1.03 MB, patch)
2011-04-21 05:44 PDT, Dirk Schulze
no flags
Patch (1.03 MB, patch)
2011-04-21 06:38 PDT, Dirk Schulze
zimmermann: review+
Dirk Schulze
Comment 1 2011-01-15 12:58:05 PST
Dirk Schulze
Comment 2 2011-01-15 12:59:40 PST
I added this patch for discussion.
Early Warning System Bot
Comment 3 2011-01-15 13:25:00 PST
Dirk Schulze
Comment 4 2011-01-15 14:56:25 PST
Dirk Schulze
Comment 5 2011-01-15 14:59:26 PST
Fix for Gtk and Qt. Patch applies nicely to Mac, the bots should get updated more regularly.
WebKit Review Bot
Comment 6 2011-01-17 17:04:26 PST
Eric Seidel (no email)
Comment 7 2011-01-24 15:41:10 PST
SVG 1.2 scares me. :)
Dirk Schulze
Comment 8 2011-01-24 15:42:53 PST
(In reply to comment #7) > SVG 1.2 scares me. :) Actually it's SVG Filter 1.2, and will be a submodule of SVG 2 ;-)
Dirk Schulze
Comment 9 2011-01-24 15:44:57 PST
Comment on attachment 79078 [details] Patch Clearing review flag after talking with Simon. ContextShadow should be land in a different patch.
Dirk Schulze
Comment 10 2011-04-20 11:02:43 PDT
Dirk Schulze
Comment 11 2011-04-20 13:05:35 PDT
Comment on attachment 90363 [details] Patch Clearing flags on attachment: 90363 Committed r84410: <http://trac.webkit.org/changeset/84410>
Dirk Schulze
Comment 12 2011-04-20 13:05:54 PDT
All reviewed patches have been landed. Closing bug.
Dirk Schulze
Comment 13 2011-04-20 13:42:51 PDT
Landed preparation patch. Going on with feDropShadow now.
Dirk Schulze
Comment 14 2011-04-21 05:44:27 PDT
Dirk Schulze
Comment 15 2011-04-21 05:46:36 PDT
(In reply to comment #14) > Created an attachment (id=90515) [details] > Patch The patch itself is not that big. But I attached the images of the pixel tests. Don't be afraid.
Nikolas Zimmermann
Comment 16 2011-04-21 06:04:43 PDT
Comment on attachment 90515 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90515&action=review Patch looks great, one problem though leading to r-: > Source/WebCore/svg/SVGFEDropShadowElement.cpp:130 > + RefPtr<RenderStyle> filterStyle = styleForRenderer(); styleForRenderer()? SVGFEDropShadowElement has it's own renderer through SVGFilterPrimitiveStandardAttributes. You have to ask your renderer for the style, don't do manual style resolution! (I guess you copied that from another wrong SVGFE* Element?)
Dirk Schulze
Comment 17 2011-04-21 06:38:33 PDT
Dirk Schulze
Comment 18 2011-04-21 06:41:09 PDT
(In reply to comment #16) > (I guess you copied that from another wrong SVGFE* Element?) It has historical reasons why other SVGFE*Elements don't call the renderer. They didn't have renderers at the beginning. I'll fix the other elements in another bug report.
Nikolas Zimmermann
Comment 19 2011-04-21 07:15:58 PDT
Comment on attachment 90524 [details] Patch Looks great, r=me. Note ASSERT(renderer->style()->svgStyle()); this is always true, as the svgStyle gets created. Make sure it builds before landing though, as discussed on IRC :-)
Dirk Schulze
Comment 20 2011-04-21 10:57:39 PDT
WebKit Review Bot
Comment 21 2011-04-21 11:24:48 PDT
http://trac.webkit.org/changeset/84522 might have broken Qt Linux ARMv7 Release, Qt Windows 32-bit Release, and Qt Windows 32-bit Debug
Dirk Schulze
Comment 22 2011-04-21 11:45:30 PDT
Dirk Schulze
Comment 23 2011-04-21 12:23:09 PDT
Dirk Schulze
Comment 24 2011-04-21 12:50:16 PDT
Simon Fraser (smfr)
Comment 25 2011-04-28 10:05:18 PDT
The new ShadowBlur code fails to handle vertical or horizontal radii of 0. I guess this wasn't tested? Bug 59710.
Note You need to log in before you can comment on or make changes to this bug.