rem: globalElement.removeAttribute("align"); 
add: gEditor.removeAttributeOrEquivalent(globalElement, "align", true); 
context: function ValidateData(){  // Height is always pixels  height = ValidateNumber(gDialog.heightInput, null, 1, gMaxHRSize,                          globalElement, "size", false);  if (gValidationError)    return false;  width = ValidateNumber(gDialog.widthInput, gDialog.pixelOrPercentMenulist, 1, gMaxPixels,                          globalElement, "width", false);  if (gValidationError)    return false;  align = "left";  if (gDialog.centerAlign.selected) {    // Don't write out default attribute    align = "";  } else if (gDialog.rightAlign.selected) {    align = "right";  }  if (align)    globalElement.setAttribute("align", align);  else    globalElement.removeAttribute("align");  if (gDialog.shading.checked) {    shading = true;    globalElement.removeAttribute("noshade");  } else {    shading = false;    globalElement.setAttribute("noshade", "noshade");  }  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e03e047dcf2d433cf8a3fd1eef00ed0ebcd6a62c/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js