Opened 14 years ago
Closed 14 years ago
#5634 closed defect (fixed)
[patch][cla] dojo.animateProperty does not use current style for colors if start or end missing
Reported by: | Rawld Gill | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Core | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
If a color (e.g. "backgroundColor") is specified with only a start or end value, then revision 12117 attempts to use the current value of that property for the missing end point.
However, the closed getStyle function (line 426 of fx.js) calls parseFloat (line 431) on a "rgb(x, y, z)" value. This returns NaN and the end point ends up being white.
Example of problem and proposed repair attached. Repair tested in FF and IE.
Attachments (2)
Change History (5)
Changed 14 years ago by
Attachment: | dojo.fx.error.htm added |
---|
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by
Milestone: | → 1.1 |
---|---|
Owner: | changed from anonymous to Bryan Forbes |
Summary: | dojo.animateProperty does not use current style for colors if start or end missing → [patch][cla] dojo.animateProperty does not use current style for colors if start or end missing |
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
reproducable example