Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 737f793f8647abfcc27f5b392da5ac955dd10fef
https://github.com/WebKit/WebKit/commit/737f793f8647abfcc27f5b392da5ac955dd10fef
Author: Simon Fraser <[email protected]>
Date: 2024-11-10 (Sun, 10 Nov 2024)
Changed paths:
A LayoutTests/fast/gradients/radial-two-stops-at-one-expected.html
A LayoutTests/fast/gradients/radial-two-stops-at-one.html
M Source/WebCore/platform/graphics/cg/GradientRendererCG.cpp
M Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp
Log Message:
-----------
Radial gradients stopping at 100% are broken
https://bugs.webkit.org/show_bug.cgi?id=282584
rdar://139369366
Reviewed by Sam Weinig.
If a gradient has two color stops at 100%, CoreGraphics has a bug where the last
color fails to extend; this is visible in radial gradients.
Work around this by replicating the last color stop.
* LayoutTests/fast/gradients/radial-two-stops-at-one-expected.html: Added.
* LayoutTests/fast/gradients/radial-two-stops-at-one.html: Added.
* Source/WebCore/platform/graphics/cg/GradientRendererCG.cpp:
(WebCore::GradientRendererCG::makeGradient const):
* Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:
(WebCore::DisplayList::FillRectWithGradient::dump const):
Canonical link: https://commits.webkit.org/286413@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes