Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.

This commit is contained in:
Boris Zbarsky
2009-07-29 08:53:27 -04:00
parent 773eeea25c
commit 5bffed7be3
5 changed files with 33 additions and 2 deletions
+2 -2
View File
@@ -5669,13 +5669,13 @@ AdjustAppendParentForAfterContent(nsPresContext* aPresContext,
static nsIFrame*
FindAppendPrevSibling(nsIFrame* aParentFrame, nsIFrame* aAfterFrame)
{
nsFrameList childList(aParentFrame->GetFirstChild(nsnull));
if (aAfterFrame) {
nsFrameList childList(aParentFrame->GetFirstChild(nsnull));
NS_ASSERTION(aAfterFrame->GetParent() == aParentFrame, "Wrong parent");
return childList.GetPrevSiblingFor(aAfterFrame);
}
return childList.LastChild();
return aParentFrame->GetLastChild(nsnull);
}
/**