зеркало из https://github.com/mozilla/gecko-dev.git
Bug 363813. Always reset parent pointers when pulling an inline frame's overflow back into its main child list. r+sr=dbaron
This commit is contained in:
Родитель
fdca21c5e6
Коммит
4e9aee59fe
|
@ -416,9 +416,8 @@ nsInlineFrame::Reflow(nsPresContext* aPresContext,
|
|||
|
||||
// Because we lazily set the parent pointer of child frames we get from
|
||||
// our prev-in-flow's overflow list, it's possible that we have not set
|
||||
// the parent pointer for these frames. Check the first frame to see, and
|
||||
// if we haven't set the parent pointer then set it now
|
||||
mFrames.AppendFrames(overflowFrames->GetParent() == this ? nsnull : this, overflowFrames);
|
||||
// the parent pointer for these frames.
|
||||
mFrames.AppendFrames(this, overflowFrames);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче