Bug 51839

Summary: [CG] Extend color is wrong for some gradients
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, jonlee, krit, kyle.bavender, simon.fraser, webkit-bug-importer, webmaster
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 54749    
Attachments:
Description Flags
Testcases
none
WIP patch none

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
WIP patch (2.69 KB, patch)
2011-01-03 14:07 PST, Simon Fraser (smfr)
no flags
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
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
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!
Note You need to log in before you can comment on or make changes to this bug.