if (IsTable(tmp)) tbl = tmp;
if (nsHTMLEditUtils::IsTable(tmp)) tbl = tmp;
nsHTMLEditor::GetEnclosingTable(nsIDOMNode *aNode){  NS_PRECONDITION(aNode, "null node passed to nsHTMLEditor::GetEnclosingTable");  nsCOMPtr<nsIDOMNode> tbl, tmp, node = aNode;  while (!tbl)  {    tmp = GetBlockNodeParent(node);    if (!tmp) break;    if (IsTable(tmp)) tbl = tmp;    node = tmp;  }  return tbl;}