Bug 493652: First-line style applies to two lines when first-letter style also used. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257466 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0ac9fd3d80
commit
594d1b97d5
@ -5823,6 +5823,9 @@ nsTextFrame::Reflow(nsPresContext* aPresContext,
|
||||
} else if (breakAfter) {
|
||||
aStatus = NS_INLINE_LINE_BREAK_AFTER(aStatus);
|
||||
}
|
||||
if (completedFirstLetter) {
|
||||
lineLayout.SetFirstLetterStyleOK(PR_FALSE);
|
||||
}
|
||||
|
||||
// Compute space and letter counts for justification, if required
|
||||
if (NS_STYLE_TEXT_ALIGN_JUSTIFY == textStyle->mTextAlign &&
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
== 18217-zorder-3.html 18217-zorder-ref-inline.html
|
||||
== 18217-zorder-4.html 18217-zorder-ref-inline-table.html
|
||||
== 18217-zorder-5.html 18217-zorder-ref-inline-table.html
|
||||
fails == 23604-1.html 23604-1-ref.html # bug 429968
|
||||
== 23604-1.html 23604-1-ref.html
|
||||
== 23604-2.html 23604-2-ref.html
|
||||
!= 24998-1.html 24998-1-ref.html
|
||||
fails == 25888-1l.html 25888-1l-ref.html # bug 25888
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user