Opened 13 years ago
Closed 12 years ago
#7522 closed enhancement (fixed)
setStroke with array argument for color fails on IE6+
Reported by: | ptwobrussell | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | DojoX GFX | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
I noticed that this fails on IE6/7 for some reason:
ball = surface.createCircle({ /* ... stuff ... */ }) //.setStroke("#888") .setStroke([128,128,128]) .setFill("white") ;
It works fine on FF and Safari, but on IE it fails for both VML and Silverlight. Setting stroke with a string argument works fine though.
Change History (5)
comment:1 Changed 13 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 12 years ago by
Priority: | normal → high |
---|---|
Status: | new → assigned |
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Milestone: | future → 1.2 |
Type: | defect → enhancement |
Only string is supported as a shortcut, everything else (array, or object) should be properly wrapped:
shape.setStroke("red"); shape.setStroke({color: [255, 0, 0]}); shape.setStroke({color: {r: 255, g: 0, b: 0}});
I will extend this shortcut to include arrays, as well.
comment:4 Changed 12 years ago by
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Moving all open ticketd to the future.