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

This commit is contained in:
2008-04-13 13:22:31 -07:00
parent 769286371d
commit 278718a41f
6 changed files with 61 additions and 10 deletions

View File

@@ -334,6 +334,11 @@ nsHTMLEditor::ShowGrabberOnElement(nsIDOMElement * aElement)
{
NS_ENSURE_ARG_POINTER(aElement);
if (mGrabber) {
NS_ERROR("call HideGrabber first");
return NS_ERROR_UNEXPECTED;
}
nsAutoString classValue;
nsresult res = CheckPositionedElementBGandFG(aElement, classValue);
if (NS_FAILED(res)) return res;