rem: globalElement.removeAttribute("type"); 
add: gEditor.removeAttributeOrEquivalent(globalElement, "type", true); 
context: function ValidateData(){  gBulletStyleType = gDialog.BulletStyleList.value;  // globalElement should already be of the correct type   if (globalElement)  {    if (gListType == "ul")    {      if (gBulletStyleType && gDialog.ChangeAllRadio.selected)        globalElement.setAttribute("type", gBulletStyleType);      else        globalElement.removeAttribute("type");    }     else if (gListType == "ol")    {      if (gBulletStyleType)        globalElement.setAttribute("type", gBulletStyleType);      else        globalElement.removeAttribute("type");            var startingNumber = ConvertUserStringToStartAttr(gBulletStyleType);      if (startingNumber)        globalElement.setAttribute("start", startingNumber);      else        globalElement.removeAttribute("start");    }  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dfe457b9a4cb5d2e2321d05d29885ef9fb6030ee/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js