Opened 11 years ago
Closed 11 years ago
#10766 closed defect (invalid)
[patch][cla] dojo.animateProperty does not animate alpha channel in rgba colours
Reported by: | seangarner | Owned by: | nic |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Core | Version: | 1.3.2 |
Keywords: | fx | Cc: | |
Blocked By: | Blocking: |
Description
When using animateProperty to animate between 2 colours it ignores the alpha channel if the node has a colour defined using rgba(Rn,Gn,Bx,Ax).
This means that if you try using animateProperty on a colour that has an alpha channel it will be lost during the transition and will assume A=255 leaving you with solid colours during and after the animation has ended.
The fix appears to be trivial and works with FF3.5, FF3.6, Chrome and Chromium nightly browsers (sorry, I have no access to IE).
Patch included for dojo 1.3.2 and trunk (as of now).
Attachments (2)
Change History (4)
Changed 11 years ago by
Attachment: | 1.3.2.diff added |
---|
comment:1 Changed 11 years ago by
Owner: | changed from anonymous to nic |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
The suggested fix breaks the animation on IE; now we are working on a dojox module to handle css3 properties on IE too.
Patch for 1.3.2