[Webkit-unassigned] [Bug 198628] SVG fill gradients don't support P3 color space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 14:15:53 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198628

--- Comment #2 from wk1 at philipkronawetter.com ---
The bug is related to how WebCore incorporates the opacity of the stop into the color of the stop. For combining the stop's color and opacity, the color is converted to RGBA32, which doesn't work for extended (i.e. P3) colors.

There is a FIXME comment present that the current approach should be changed, but it notes that the corresponding member function of Color rounds the alpha component differently and is therefore not used.

https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/svg/SVGStopElement.cpp#L98

What is the suggested way to proceed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190610/9398c9cc/attachment-0001.html>


More information about the webkit-unassigned mailing list