[Webkit-unassigned] [Bug 256956] Fix animation of stop-color on <stop>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 5 09:10:25 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256956
--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Similar looking function (SVGStopElement::stopColorIncludingOpacity()):
https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGStopElement.cpp#87
if (!renderer())
return Color::transparentBlack;
auto& style = renderer()->style();
auto& svgStyle = style.svgStyle();
auto stopColor = style.colorResolvingCurrentColor(svgStyle.stopColor());
return stopColor.colorWithAlphaMultipliedBy(svgStyle.stopOpacity());
--
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/20230705/757d219d/attachment.htm>
More information about the webkit-unassigned
mailing list