Tweaked reflow status to be legible
git-svn-id: svn://10.0.0.236/trunk@16246 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
bbdafa23dc
commit
ab5cde8c0a
@ -117,7 +117,7 @@ SpacerFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
case TYPE_LINE:
|
||||
if (0 != width) {
|
||||
aStatus = NS_INLINE_LINE_BREAK_AFTER(0);
|
||||
aStatus = NS_INLINE_LINE_BREAK_AFTER(NS_FRAME_COMPLETE);
|
||||
aMetrics.height = NSIntPixelsToTwips(width, p2t);
|
||||
aMetrics.ascent = aMetrics.height;
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ SpacerFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
case TYPE_LINE:
|
||||
if (0 != width) {
|
||||
aStatus = NS_INLINE_LINE_BREAK_AFTER(0);
|
||||
aStatus = NS_INLINE_LINE_BREAK_AFTER(NS_FRAME_COMPLETE);
|
||||
aMetrics.height = NSIntPixelsToTwips(width, p2t);
|
||||
aMetrics.ascent = aMetrics.height;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user