Bug 51839 - [CG] Extend color is wrong for some gradients
Summary: [CG] Extend color is wrong for some gradients
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks: 54749
  Show dependency treegraph
 
Reported: 2011-01-03 11:40 PST by Simon Fraser (smfr)
Modified: 2022-09-30 15:33 PDT (History)
7 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
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!