RESOLVED FIXED 69076
SVG Mask should take 'color-interpolation' into account to determine the color space of the mask image
https://bugs.webkit.org/show_bug.cgi?id=69076
Summary SVG Mask should take 'color-interpolation' into account to determine the colo...
Dirk Schulze
Reported 2011-09-29 02:30:27 PDT
SVG Mask should take 'color-interpolation' into account to determine the color space of the mask image. This is a change in SVG 1.1 SE. The color space of the mask image gets defined by the computed value of the 'color-interpolation' property. This will switch the default color space from linearRGB to sRGB (a performance improvement for platforms without native support of linearRGB).
Attachments
Patch (282.14 KB, patch)
2011-09-29 13:40 PDT, Dirk Schulze
simon.fraser: review+
webkit.review.bot: commit-queue-
Dirk Schulze
Comment 1 2011-09-29 13:40:11 PDT
WebKit Review Bot
Comment 2 2011-09-29 15:50:36 PDT
Comment on attachment 109198 [details] Patch Attachment 109198 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9900221 New failing tests: svg/W3C-SVG-1.1/masking-intro-01-f.svg svg/custom/mask-colorspace.svg svg/css/circle-in-mask-with-shadow.svg svg/custom/grayscale-gradient-mask-2.svg
Dirk Schulze
Comment 3 2011-09-30 01:30:49 PDT
The test results must be updated on linux and windows for chromium. I'd do that on landing.
Simon Fraser (smfr)
Comment 4 2011-09-30 11:55:17 PDT
Comment on attachment 109198 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109198&action=review > Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp:134 > +void RenderSVGResourceMasker::drawContentIntoMaskImage(MaskerData* maskerData, const ColorSpace colorSpace, const SVGMaskElement* maskElement, RenderObject* object) ColorSpace doesn't need to be const.
Dirk Schulze
Comment 5 2011-10-02 00:14:24 PDT
Note You need to log in before you can comment on or make changes to this bug.