Work around some first-letter bugs
git-svn-id: svn://10.0.0.236/trunk@25157 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -800,6 +800,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
// the state out. We need to know how to treat the current frame
|
||||
// when breaking.
|
||||
PRBool notSafeToBreak = CanPlaceFloaterNow() || InWord();
|
||||
PRBool firstLetterOK = mFirstLetterStyleOK;
|
||||
|
||||
// Apply left margins (as appropriate) to the frame computing the
|
||||
// new starting x,y coordinates for the frame.
|
||||
@@ -938,6 +939,8 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
parent->DeleteChildsNextInFlow(mPresContext, aFrame);
|
||||
}
|
||||
}
|
||||
if (firstLetterOK && !mFirstLetterStyleOK) {
|
||||
}
|
||||
|
||||
// See if we can place the frame. If we can't fit it, then we
|
||||
// return now.
|
||||
|
||||
Reference in New Issue
Block a user