Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 16527 by s.kromwijk: Canvas gradient drawing problem http://code.google.com/p/chromium/issues/detail?id=16527
Chrome Version : 2.0.172.33 URLs (if applicable) : http://thetricky.net/~sander/Gravity/, http://tc.labs.opera.com/html/canvas/getContext/2d/createRadialGradient/001.htm Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 4: OK Firefox 3.x: OK IE 7: NOT APPLICABLE IE 8:NOT APPLICABLE What steps will reproduce the problem? 1. Open the page 2. Look at the planets What is the expected result? Each circle should have a radial gradient that's not centered (simulate lighting from the side) What happens instead? Each circle has a centered radial gradient. Please provide any additional information below. Attach a screenshot if possible. The problem is probably that the data supplied with createRadialGradient isn't completely used. For example: var radgrad = ctx.createRadialGradient(x0,y0,r0,x1,y1,r1); x0 and y0 seem to be completely ignored and set to x1 and y1. Attachments: gradientProblem.jpg 10.8 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
