yongsheng0318 / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

GWTCanvas IE: CanvasGradients do not work #241

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Found in what component (Widget/FAQ/Library):
GWTCanvas (1.5 Dec 28)

Detailed description:
If the canvas stroke style is set to a CanvasGradient, it will draw with
that gradient. This works in Firefox 3, Opera, and Safari.

In IE 6, all CanvasGradients appear solid black.

Workaround if you have one:

Original issue reported on code.google.com by reentry.espresso@gmail.com on 20 Feb 2009 at 8:07

GoogleCodeExporter commented 8 years ago
Attached is an app demonstrating this bug.

Original comment by reentry.espresso@gmail.com on 20 Feb 2009 at 8:15

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by ecc%google.com@gtempaccount.com on 2 Mar 2009 at 4:07

GoogleCodeExporter commented 8 years ago
The docs, and demos should indicate that IE support for canvas gradients is 
unfinished and pending 
contributions from the community.

While we hate having incomplete API in the incubator, we felt that the 
partially completed code for the IE 
implementation was a useful beginning to getting gradients working, and worth 
committing to see if anyone 
could take it to completion.

I should have updated the javadoc to reflect that the gradient methods are 
unfinished for IE.

Original comment by jaime...@google.com on 2 Mar 2009 at 4:17

GoogleCodeExporter commented 8 years ago
Docs are clear that IE is unsupported.  I filed this issue to give it 
visibility + a working test case to make it easier 
to work on.

Original comment by reentry.espresso@gmail.com on 3 Mar 2009 at 9:53