Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons

git-svn-id: svn://10.0.0.236/trunk@250164 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mats.palmgren%bredband.net
2008-04-13 20:22:32 +00:00
parent b9efb9e242
commit 2d079374a6
6 changed files with 61 additions and 10 deletions

View File

@@ -71,6 +71,11 @@ nsHTMLEditor::ShowInlineTableEditingUI(nsIDOMElement * aCell)
if (!nsHTMLEditUtils::IsTableCell(aCell))
return NS_OK;
if (mInlineEditedCell) {
NS_ERROR("call HideInlineTableEditingUI first");
return NS_ERROR_UNEXPECTED;
}
// the resizers and the shadow will be anonymous children of the body
nsIDOMElement *bodyElement = GetRoot();
if (!bodyElement) return NS_ERROR_NULL_POINTER;