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

@@ -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;