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)
Keywords: InRadar
Depends on:
Blocks: 54749
  Show dependency treegraph
Reported: 2011-01-03 11:40 PST by Simon Fraser (smfr)
Modified: 2019-01-17 17:29 PST (History)
6 users (show)

See Also:

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]
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
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