Passed in the z-index for InsertChild() call

This commit is contained in:
troy%netscape.com 1998-10-26 20:01:40 +00:00
Родитель 4588b580c1
Коммит ad0678461d
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -870,7 +870,7 @@ nsBodyFrame::CreateAbsoluteView(nsIStyleContext* aStyleContext) const
// the frame the view will be sized and positioned
view->Init(viewManager, nsRect(0, 0, 0, 0), containingView, nsnull,
nsnull, nsnull, zIndex, pClip);
viewManager->InsertChild(containingView, view, 0);
viewManager->InsertChild(containingView, view, zIndex);
// If the background color is transparent then mark the view as having
// transparent content.
// XXX We could try and be smarter about this and check whether there's