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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user