mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Clear first-letter state when leaving the first-letter frame inserted by the frame constructor. Bug 402380, r+sr+blocking1.9=roc
This commit is contained in:
parent
70475edc47
commit
bf99c0bd51
@ -307,6 +307,9 @@ nsFirstLetterFrame::Reflow(nsPresContext* aPresContext,
|
||||
// Create a continuation or remove existing continuations based on
|
||||
// the reflow completion status.
|
||||
if (NS_FRAME_IS_COMPLETE(aReflowStatus)) {
|
||||
if (aReflowState.mLineLayout) {
|
||||
aReflowState.mLineLayout->SetFirstLetterStyleOK(PR_FALSE);
|
||||
}
|
||||
nsIFrame* kidNextInFlow = kid->GetNextInFlow();
|
||||
if (kidNextInFlow) {
|
||||
// Remove all of the childs next-in-flows
|
||||
|
Loading…
x
Reference in New Issue
Block a user