Bug 369227. Record the first soft break beyond the available width, if there isn't one within the available width. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1048,7 +1048,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
// record soft break opportunity after this content that can't be
|
||||
// part of a text run. This is not a text frame so we know
|
||||
// that offset PR_INT32_MAX means "after the content".
|
||||
if (NotifyOptionalBreakPosition(aFrame->GetContent(), PR_INT32_MAX)) {
|
||||
if (NotifyOptionalBreakPosition(aFrame->GetContent(), PR_INT32_MAX, PR_TRUE)) {
|
||||
// If this returns true then we are being told to actually break here.
|
||||
aReflowStatus = NS_INLINE_LINE_BREAK_AFTER(aReflowStatus);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user