rem: if (editorShell.GetElementOrParentByTagName("td",selection.focusNode)); 
add: if (editorShell.GetElementOrParentByTagName("td",selection.focusNode)) 
context: function GetAppropriatePercentString(){  var selection = window.editorShell.editorSelection;  if (selection) {    if (editorShell.GetElementOrParentByTagName("td",selection.focusNode));      return GetString("PercentOfCell");  }  return GetString("PercentOfWindow");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/23f3dc60b206760ee1b8c5441a652a43fc17c554/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js