WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
51839
[CG] Extend color is wrong for some gradients
https://bugs.webkit.org/show_bug.cgi?id=51839
Summary
[CG] Extend color is wrong for some gradients
Simon Fraser (smfr)
Reported
2011-01-03 11:40:26 PST
Core Graphics has a bug with the extend color for radial gradients, which we'll need to work around. See attached testcase.
Attachments
Testcases
(2.10 KB, text/html)
2011-01-03 11:40 PST
,
Simon Fraser (smfr)
no flags
Details
WIP patch
(2.69 KB, patch)
2011-01-03 14:07 PST
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Safari 18.5, Chrome Canary 138 and Firefox Nightly 140
(2.55 MB, image/png)
2025-05-17 17:54 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2011-01-03 11:40:43 PST
Created
attachment 77831
[details]
Testcases
Simon Fraser (smfr)
Comment 2
2011-01-03 14:07:09 PST
Created
attachment 77845
[details]
WIP patch
Simon Fraser (smfr)
Comment 3
2011-01-03 14:08:10 PST
This bug is also apparent in LayoutTests/svg/batik/paints/gradientLimit.svg
Simon Fraser (smfr)
Comment 4
2011-01-03 21:36:35 PST
This patch will require new pixel results for various SVG, CSS and canvas tests. Also, some of the canvas/philip tests break (and some get fixed).
Simon Fraser (smfr)
Comment 5
2011-02-24 21:04:45 PST
<
rdar://problem/8814089
>
Simon Fraser (smfr)
Comment 6
2019-01-15 13:14:24 PST
rdar://problem/8814089
was fixed in 2011 but we still don't render the test case correctly.
Jon Lee
Comment 7
2019-01-17 17:28:30 PST
Both software and hardware paths fail in the first two (colored) cases.
Radar WebKit Bug Importer
Comment 8
2019-01-17 17:29:28 PST
<
rdar://problem/47370816
>
Ahmad Saleem
Comment 9
2022-09-30 15:33:22 PDT
Safari 16 and Safari Technology Preview 154 still differ from Chrome Canary 108 and Firefox Nightly 107 for two first row cases in attached test cases. Just wanted to share updated testing results. Thanks!
Ahmad Saleem
Comment 10
2025-05-17 17:54:17 PDT
Created
attachment 475288
[details]
Safari 18.5, Chrome Canary 138 and Firefox Nightly 140 Attached test cases seems to work fine now in Safari 18.5 for me, is it something we still need to track? @Simon
Simon Fraser (smfr)
Comment 11
2025-05-20 11:36:27 PDT
I worked around this in
bug 282584
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug