rem: AppendStringToList(select,GetAppropriatePercentString()); 
add:   AppendStringToList(select,GetAppropriatePercentString(elementForAtt,window.editorShell.editorSelection.anchorNode)); 
context: function InitPixelOrPercentCombobox(element, attribute, selectID){  size   = element.getAttribute(attribute);  select = document.getElementById(selectID);  if (select) {    ClearList(select);    AppendStringToList(select,GetString("Pixels"));    AppendStringToList(select,GetAppropriatePercentString());  }  // Search for a "%" character  percentIndex = size.search(/%/);  if (percentIndex > 0) {    // Strip out the %    size = size.substr(0, percentIndex);    if (select)      select.selectedIndex = 1;  } else {    if (select)      select.selectedIndex = 0;  }  return size;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2b34b49a022263caa641dc5083239be58bde91c8/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js