rem: globalElement.removeAttribute(backgroundStr); 
add: gEditor.removeAttributeOrEquivalent(globalElement, backgroundStr, true); 
context: function ValidateData(){  // Colors values are updated as they are picked, no validation necessary  if (gDialog.DefaultColorsRadio.selected)  {    globalElement.removeAttribute(textStr);    globalElement.removeAttribute(linkStr);    globalElement.removeAttribute(vlinkStr);    globalElement.removeAttribute(alinkStr);    globalElement.removeAttribute(bgcolorStr);  }  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      globalElement.removeAttribute(textStr);    tmpColor = customBackgroundColor.toLowerCase();    if (tmpColor != "window")      globalElement.setAttribute(bgcolorStr, customBackgroundColor);    else      globalElement.removeAttribute(bgcolorStr);    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      globalElement.removeAttribute(backgroundStr);      return true;  }    return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dfe457b9a4cb5d2e2321d05d29885ef9fb6030ee/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js