This commit is contained in:
hyatt%netscape.com 1999-01-27 07:30:24 +00:00
Родитель 91364acc34
Коммит b7887fe8d6
3 изменённых файлов: 3 добавлений и 78 удалений

Просмотреть файл

@ -267,30 +267,6 @@ nsAbsoluteItems::nsAbsoluteItems(nsIFrame* aContainingBlock)
{
}
void
nsAbsoluteItems::AddAbsolutelyPositionedChild(nsIFrame* aChildFrame)
{
#ifdef NS_DEBUG
nsIFrame* parent;
aChildFrame->GetParent(parent);
NS_PRECONDITION(parent == containingBlock, "bad geometric parent");
#endif
if (nsnull == childList) {
childList = aChildFrame;
} else {
// Get the last frane in the list
nsIFrame* lastChild = nsnull;
for (nsIFrame* f = childList; nsnull != f; f->GetNextSibling(f)) {
lastChild = f;
}
lastChild->SetNextSibling(aChildFrame);
}
=======
>>>>>>> 3.141
}
// -----------------------------------------------------------
@ -516,7 +492,6 @@ protected:
nsAbsoluteItems& aAbsoluteItems,
nsIFrame*& aNewFrame,
nsAbsoluteItems& aFixedItems);
>>>>>>> 3.141
#endif
nsresult ConstructFrameByDisplayType(nsIPresContext* aPresContext,
@ -1858,7 +1833,7 @@ HTMLStyleSheetImpl::ConstructSelectFrame(nsIPresContext* aPresContext,
// Add the absolutely positioned frame to its containing block's list
// of child frames
aAbsoluteItems.AddAbsolutelyPositionedChild(aNewFrame);
aAbsoluteItems.AddChild(aNewFrame);
listFrame = aNewFrame;

Просмотреть файл

@ -267,30 +267,6 @@ nsAbsoluteItems::nsAbsoluteItems(nsIFrame* aContainingBlock)
{
}
void
nsAbsoluteItems::AddAbsolutelyPositionedChild(nsIFrame* aChildFrame)
{
#ifdef NS_DEBUG
nsIFrame* parent;
aChildFrame->GetParent(parent);
NS_PRECONDITION(parent == containingBlock, "bad geometric parent");
#endif
if (nsnull == childList) {
childList = aChildFrame;
} else {
// Get the last frane in the list
nsIFrame* lastChild = nsnull;
for (nsIFrame* f = childList; nsnull != f; f->GetNextSibling(f)) {
lastChild = f;
}
lastChild->SetNextSibling(aChildFrame);
}
=======
>>>>>>> 3.141
}
// -----------------------------------------------------------
@ -516,7 +492,6 @@ protected:
nsAbsoluteItems& aAbsoluteItems,
nsIFrame*& aNewFrame,
nsAbsoluteItems& aFixedItems);
>>>>>>> 3.141
#endif
nsresult ConstructFrameByDisplayType(nsIPresContext* aPresContext,
@ -1858,7 +1833,7 @@ HTMLStyleSheetImpl::ConstructSelectFrame(nsIPresContext* aPresContext,
// Add the absolutely positioned frame to its containing block's list
// of child frames
aAbsoluteItems.AddAbsolutelyPositionedChild(aNewFrame);
aAbsoluteItems.AddChild(aNewFrame);
listFrame = aNewFrame;

Просмотреть файл

@ -267,30 +267,6 @@ nsAbsoluteItems::nsAbsoluteItems(nsIFrame* aContainingBlock)
{
}
void
nsAbsoluteItems::AddAbsolutelyPositionedChild(nsIFrame* aChildFrame)
{
#ifdef NS_DEBUG
nsIFrame* parent;
aChildFrame->GetParent(parent);
NS_PRECONDITION(parent == containingBlock, "bad geometric parent");
#endif
if (nsnull == childList) {
childList = aChildFrame;
} else {
// Get the last frane in the list
nsIFrame* lastChild = nsnull;
for (nsIFrame* f = childList; nsnull != f; f->GetNextSibling(f)) {
lastChild = f;
}
lastChild->SetNextSibling(aChildFrame);
}
=======
>>>>>>> 3.141
}
// -----------------------------------------------------------
@ -516,7 +492,6 @@ protected:
nsAbsoluteItems& aAbsoluteItems,
nsIFrame*& aNewFrame,
nsAbsoluteItems& aFixedItems);
>>>>>>> 3.141
#endif
nsresult ConstructFrameByDisplayType(nsIPresContext* aPresContext,
@ -1858,7 +1833,7 @@ HTMLStyleSheetImpl::ConstructSelectFrame(nsIPresContext* aPresContext,
// Add the absolutely positioned frame to its containing block's list
// of child frames
aAbsoluteItems.AddAbsolutelyPositionedChild(aNewFrame);
aAbsoluteItems.AddChild(aNewFrame);
listFrame = aNewFrame;