Backout earlier patch for bug 327737 due to regression
git-svn-id: svn://10.0.0.236/trunk@206526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -82,11 +82,9 @@ nsMathMLmsubFrame::TransmitAutomaticData()
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
|
||||
PRBool aPlaceOrigin,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
|
||||
PRBool aPlaceOrigin,
|
||||
nsHTMLReflowMetrics& aDesiredSize)
|
||||
{
|
||||
// extra spacing after sup/subscript
|
||||
nscoord scriptSpace = NSFloatPointsToTwips(0.5f); // 0.5pt as in plain TeX
|
||||
@@ -107,8 +105,6 @@ nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
|
||||
aRenderingContext,
|
||||
aPlaceOrigin,
|
||||
aDesiredSize,
|
||||
aReflowState,
|
||||
aStatus,
|
||||
this,
|
||||
subScriptShift,
|
||||
scriptSpace);
|
||||
@@ -117,15 +113,13 @@ nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
|
||||
// exported routine that both munder and msub share.
|
||||
// munder uses this when movablelimits is set.
|
||||
nsresult
|
||||
nsMathMLmsubFrame::PlaceSubScript (nsPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
PRBool aPlaceOrigin,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus,
|
||||
nsIFrame* aFrame,
|
||||
nscoord aUserSubScriptShift,
|
||||
nscoord aScriptSpace)
|
||||
nsMathMLmsubFrame::PlaceSubScript (nsPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
PRBool aPlaceOrigin,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
nsIFrame* aFrame,
|
||||
nscoord aUserSubScriptShift,
|
||||
nscoord aScriptSpace)
|
||||
{
|
||||
// the caller better be a mathml frame
|
||||
nsIMathMLFrame* mathMLFrame;
|
||||
@@ -150,9 +144,7 @@ nsMathMLmsubFrame::PlaceSubScript (nsPresContext* aPresContext,
|
||||
NS_WARNING("invalid markup");
|
||||
return NS_STATIC_CAST(nsMathMLContainerFrame*,
|
||||
aFrame)->ReflowError(aRenderingContext,
|
||||
aDesiredSize,
|
||||
aReflowState,
|
||||
aStatus);
|
||||
aDesiredSize);
|
||||
}
|
||||
GetReflowAndBoundingMetricsFor(baseFrame, baseSize, bmBase);
|
||||
GetReflowAndBoundingMetricsFor(subScriptFrame, subScriptSize, bmSubScript);
|
||||
|
||||
Reference in New Issue
Block a user