disabled calls to PropagateContentOffsets for now

git-svn-id: svn://10.0.0.236/trunk@4728 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-06-30 20:20:29 +00:00
parent c5d042d339
commit ad35cb911a
2 changed files with 8 additions and 0 deletions

View File

@@ -225,11 +225,13 @@ NS_METHOD nsHTMLContainerFrame::ContentInserted(nsIPresShell* aShell,
if (mLastContentOffset >= aIndexInParent) {
AdjustIndexInParents(frame, aContainer, aIndexInParent, ::ContentInserted);
#if XXX
// If the frame is being used as a pseudo-frame then make sure to propagate
// the content offsets back up the tree
if (isPseudoFrame) {
frame->PropagateContentOffsets();
}
#endif
}
frame->GetNextInFlow((nsIFrame*&)frame);
@@ -289,9 +291,11 @@ NS_METHOD nsHTMLContainerFrame::ContentInserted(nsIPresShell* aShell,
// The new frame is the last child frame
parent->SetLastContentOffset(newFrame);
#if XXX
if (parent->IsPseudoFrame()) {
parent->PropagateContentOffsets();
}
#endif
}
}
parent->mChildCount++;