Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user