changes per-kipp to make views transparent.

This commit is contained in:
michaelp@netscape.com
1998-10-12 18:07:28 +00:00
parent f91e142774
commit 7bbe393580
3 changed files with 5 additions and 0 deletions

View File

@@ -427,6 +427,8 @@ nsHTMLContainerFrame::CreateViewForFrame(nsIPresContext& aPresContext,
aFrame->GetRect(bounds);
view->Init(viewManager, bounds, rootView);
viewManager->InsertChild(rootView, view, 0);
//XXX this needs to be conditional...
viewManager->SetViewContentTransparency(view, PR_TRUE);
NS_RELEASE(viewManager);
}