rem: colorWell.style.backgroundColor = colorRef.value; 
add: colorWell.style.backgroundColor = colorRef.getAttribute("value"); 
context:   function getColorFromWellAndSetValue( menuid )  {    var menu      = document.getElementById(menuid);  // picker container    var colorWell = menu.firstChild;                  // display for picker colour    var colorRef  = menu.nextSibling;                 // prefs JS sets this.    colorWell.style.backgroundColor = colorRef.value; // set the well from prefs.    var color     = colorWell.style.backgroundColor;       setColorFromPicker( null, color );  }     
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/88eb00f059f907ee1e7b0423325f839071bb94a0/pref-colors.js/buggy/xpfe/components/prefwindow/resources/content/pref-colors.js