Bug 51839 - [CG] Extend color is wrong for some gradients
: [CG] Extend color is wrong for some gradients
Status: NEW
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To: Simon Fraser (smfr)
: InRadar
Depends on:
Blocks: 54749
  Show dependency treegraph
 
Reported: 2011-01-03 11:40 PST by Simon Fraser (smfr)
Modified: 2011-02-24 21:04 PST (History)
3 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>