-
krit@webkit.org authored
Reviewed by Nikolas Zimmermann. SVG feImage support https://bugs.webkit.org/show_bug.cgi?id=31905 This implements the SVG Filter effect feImage with support of fragment urls. It also includes a bug fix for feComposite. feComposite didn't cover values bigger than 255 correctly on composite oeprator arithmetic. Tests: There are already many feImage tests in trunk. They just needed updated pixel test results. The feComposite bug is covered by svg/W3C-SVG-1.1/filters-composite-02-b.svg and depends on feImage. * platform/graphics/filters/FEComposite.cpp: (WebCore::arithmetic): * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint): * rendering/RenderSVGImage.h: * svg/SVGFEImageElement.cpp: (WebCore::SVGFEImageElement::requestImageResource): (WebCore::SVGFEImageElement::parseMappedAttribute):...
aaef148b