Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user