Support for attribute "notation" on mstyle (bug 569125). r=karlt

This commit is contained in:
Frédéric Wang
2011-05-13 09:31:34 +12:00
parent 9850fa2038
commit a6674837ac
4 changed files with 21 additions and 23 deletions

View File

@@ -84,6 +84,16 @@ nsMathMLmsqrtFrame::Init(nsIContent* aContent,
return rv;
}
NS_IMETHODIMP
nsMathMLmsqrtFrame::InheritAutomaticData(nsIFrame* aParent)
{
nsMathMLContainerFrame::InheritAutomaticData(aParent);
mPresentationData.flags |= NS_MATHML_STRETCH_ALL_CHILDREN_VERTICALLY;
return NS_OK;
}
NS_IMETHODIMP
nsMathMLmsqrtFrame::AttributeChanged(PRInt32 aNameSpaceID,
nsIAtom* aAttribute,