Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@164020 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1482,8 +1482,10 @@ nsLineLayout::PlaceFrame(PerFrameData* pfd, nsHTMLReflowMetrics& aMetrics)
|
||||
SetFlag(LL_ENDSINWHITESPACE, PR_FALSE);
|
||||
}
|
||||
|
||||
// Count the number of frames on the line...
|
||||
mTotalPlacedFrames++;
|
||||
// Count the number of non-empty frames on the line...
|
||||
if (!emptyFrame) {
|
||||
mTotalPlacedFrames++;
|
||||
}
|
||||
if (psd->mX != psd->mLeftEdge || pfd->mBounds.x != psd->mLeftEdge) {
|
||||
// As soon as a frame placed on the line advances an X coordinate
|
||||
// of any span we can no longer place a float on the line.
|
||||
|
||||
Reference in New Issue
Block a user