rem: globalElement.setAttribute(bgcolorStr, customBackgroundColor); 
add: editor.setAttributeOrEquivalent(globalElement, bgcolorStr, customBackgroundColor, true); 
context: function ValidateData(){  var editor = GetCurrentEditor();  try {    // Colors values are updated as they are picked, no validation necessary    if (gDialog.DefaultColorsRadio.selected)    {      editor.removeAttributeOrEquivalent(globalElement, textStr, true);      globalElement.removeAttribute(linkStr);      globalElement.removeAttribute(vlinkStr);      globalElement.removeAttribute(alinkStr);      editor.removeAttributeOrEquivalent(globalElement, bgcolorStr, true);    }    else    {      //Do NOT accept the CSS "WindowsOS" color strings!      // Problem: We really should try to get the actual color values      //  from windows, but I don't know how to do that!      var tmpColor = customTextColor.toLowerCase();      if (tmpColor != "windowtext")        globalElement.setAttribute(textStr,    customTextColor);      else        editor.removeAttributeOrEquivalent(globalElement, textStr, true);      tmpColor = customBackgroundColor.toLowerCase();      if (tmpColor != "window")        globalElement.setAttribute(bgcolorStr, customBackgroundColor);      else        editor.removeAttributeOrEquivalent(globalElement, bgcolorStr, true);      globalElement.setAttribute(linkStr,    customLinkColor);      globalElement.setAttribute(vlinkStr,   customVisitedColor);      globalElement.setAttribute(alinkStr,   customActiveColor);    }    if (ValidateAndPreviewImage(true))    {      // A valid image may be null for no image      if (gBackgroundImage)        globalElement.setAttribute(backgroundStr, gBackgroundImage);      else        editor.removeAttributeOrEquivalent(globalElement, backgroundStr, true);        return true;    }    } catch (e) {}  return false;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d179ca744c161f1470940cf892e0644e15310840/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js