Fix bug 347348 - Removing text node from <mo> causes 'ASSERTION: null arg' and has no visual effect, r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@206789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au 2006-08-07 23:50:24 +00:00
parent 0de0272460
commit 22b71d90a8
2 changed files with 10 additions and 0 deletions

View File

@ -974,6 +974,13 @@ nsMathMLmoFrame::ReflowDirtyChild(nsIPresShell* aPresShell,
return ReLayoutChildren(target);
}
nsresult
nsMathMLmoFrame::ChildListChanged(PRInt32 aModType)
{
ProcessTextData(GetPresContext());
return nsMathMLContainerFrame::ChildListChanged(aModType);
}
NS_IMETHODIMP
nsMathMLmoFrame::AttributeChanged(PRInt32 aNameSpaceID,
nsIAtom* aAttribute,

View File

@ -84,6 +84,9 @@ public:
nsIAtom* aAttribute,
PRInt32 aModType);
virtual nsresult
ChildListChanged(PRInt32 aModType);
// This method is called by the parent frame to ask <mo>
// to stretch itself.
NS_IMETHOD