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

Description Simon Fraser (smfr) 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.
Comment 1 Simon Fraser (smfr) 2011-01-03 11:40:43 PST
Created attachment 77831 [details]
Testcases
Comment 2 Simon Fraser (smfr) 2011-01-03 14:07:09 PST
Created attachment 77845 [details]
WIP patch
Comment 3 Simon Fraser (smfr) 2011-01-03 14:08:10 PST
This bug is also apparent in LayoutTests/svg/batik/paints/gradientLimit.svg
Comment 4 Simon Fraser (smfr) 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).
Comment 5 Simon Fraser (smfr) 2011-02-24 21:04:45 PST
<rdar://problem/8814089>
Comment 6 Simon Fraser (smfr) 2019-01-15 13:14:24 PST
rdar://problem/8814089 was fixed in 2011 but we still don't render the test case correctly.
Comment 7 Jon Lee 2019-01-17 17:28:30 PST
Both software and hardware paths fail in the first two (colored) cases.
Comment 8 Radar WebKit Bug Importer 2019-01-17 17:29:28 PST
<rdar://problem/47370816>
Comment 9 Ahmad Saleem 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!