Opened 11 years ago

Closed 11 years ago

#7715 closed defect (worksforme)

setFill fails in IE6 when using a color

Reported by: byersa Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: DojoX GFX Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:

Description

When running code that worked in FF on IE6, it failed when I do a setFill. In looking at the code in vml.js, there is no where that "this.rawNode.fill" is set. It is set in the equivalent method of silverlight, but as I understand it, silverlight has to be loaded into IE ??? and I can't count on that?

It breaks at line 140: this.rawNode.fill.method = "any";

If I simply test on this.rawNode.fill and add {} if it is not defined , that seems to fix it.

Change History (3)

comment:1 Changed 11 years ago by byersa

I realize that i did not do enough work on this one. The demos/roundedPane.html works, but not my code. What I found was that from roundedPane, in vml.js line 140, it goes on thru without throwing an error, but in my code it does throw the error when this.rawNode.fill is not there.

comment:2 Changed 11 years ago by Eugene Lazutkin

Are you sure you use Dojo only when HTML is fully constructed, e.g., after dojo.addOnLoad()? If you are, please include a minimal test file that showcases the problem.

comment:3 Changed 11 years ago by Eugene Lazutkin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.