Made margin carried outs per-line-layout instead of per-frame
git-svn-id: svn://10.0.0.236/trunk@25052 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0b74b4b85a
commit
165d9cd484
@ -86,11 +86,11 @@ public:
|
||||
nsReflowStatus& aReflowStatus);
|
||||
|
||||
nscoord GetCarriedOutTopMargin() const {
|
||||
return mCurrentSpan->mLastFrame->mCarriedOutTopMargin;
|
||||
return mCarriedOutTopMargin;
|
||||
}
|
||||
|
||||
nscoord GetCarriedOutBottomMargin() const {
|
||||
return mCurrentSpan->mLastFrame->mCarriedOutBottomMargin;
|
||||
return mCarriedOutBottomMargin;
|
||||
}
|
||||
|
||||
nsresult AddBulletFrame(nsIFrame* aFrame,
|
||||
@ -238,6 +238,8 @@ protected:
|
||||
nscoord mBottomEdge;
|
||||
nscoord mMaxTopBoxHeight;
|
||||
nscoord mMaxBottomBoxHeight;
|
||||
nscoord mCarriedOutTopMargin;
|
||||
nscoord mCarriedOutBottomMargin;
|
||||
|
||||
nsTextRun* mReflowTextRuns;
|
||||
nsTextRun* mTextRun;
|
||||
@ -264,8 +266,6 @@ protected:
|
||||
nsRect mBounds;
|
||||
nsSize mMaxElementSize;
|
||||
nsRect mCombinedArea;
|
||||
nscoord mCarriedOutTopMargin;
|
||||
nscoord mCarriedOutBottomMargin;
|
||||
|
||||
// From reflow-state
|
||||
nsMargin mMargin;
|
||||
|
||||
@ -86,11 +86,11 @@ public:
|
||||
nsReflowStatus& aReflowStatus);
|
||||
|
||||
nscoord GetCarriedOutTopMargin() const {
|
||||
return mCurrentSpan->mLastFrame->mCarriedOutTopMargin;
|
||||
return mCarriedOutTopMargin;
|
||||
}
|
||||
|
||||
nscoord GetCarriedOutBottomMargin() const {
|
||||
return mCurrentSpan->mLastFrame->mCarriedOutBottomMargin;
|
||||
return mCarriedOutBottomMargin;
|
||||
}
|
||||
|
||||
nsresult AddBulletFrame(nsIFrame* aFrame,
|
||||
@ -238,6 +238,8 @@ protected:
|
||||
nscoord mBottomEdge;
|
||||
nscoord mMaxTopBoxHeight;
|
||||
nscoord mMaxBottomBoxHeight;
|
||||
nscoord mCarriedOutTopMargin;
|
||||
nscoord mCarriedOutBottomMargin;
|
||||
|
||||
nsTextRun* mReflowTextRuns;
|
||||
nsTextRun* mTextRun;
|
||||
@ -264,8 +266,6 @@ protected:
|
||||
nsRect mBounds;
|
||||
nsSize mMaxElementSize;
|
||||
nsRect mCombinedArea;
|
||||
nscoord mCarriedOutTopMargin;
|
||||
nscoord mCarriedOutBottomMargin;
|
||||
|
||||
// From reflow-state
|
||||
nsMargin mMargin;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user