rem: var color = new dojo.gfx.color.Color(dojo.html.getBackgroundColor(node)); var rgb = new dojo.gfx.color.Color(endColor); 
add: var color = dojo.html.getBackgroundColor(node); var bg = dojo.html.getStyle(node, "background-color").toLowerCase(); var bgImage = dojo.html.getStyle(node, "background-image"); var wasTransparent = (bg == "transparent" || bg == "rgba(0, 0, 0, 0)"); while(color.length > 3) { color.pop(); } 
context: 	dojo.lang.forEach(nodes, function(node){		var color = new dojo.gfx.color.Color(dojo.html.getBackgroundColor(node));		var rgb = new dojo.gfx.color.Color(endColor);		var bgImage = dojo.html.getStyle(node, "background-image");				var anim = dojo.lfx.propertyAnimation(node, 			{ "background-color": { start: color, end: rgb } },			duration, 			easing,			{				"beforeBegin": function(){ 					if(bgImage){						node.style.backgroundImage = "none";					}					node.style.backgroundColor = "rgb(" + color.toRgb().join(",") + ")";				},				"onEnd": function(){ 					if(callback){						callback(node, anim);					}				}			}		);		anims.push(anim);	});
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js.uncompressed.js/buggy/www/resources/dojo-ajax/dojo.js.uncompressed.js