changes per-kipp to make views transparent.

git-svn-id: svn://10.0.0.236/trunk@12584 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1998-10-12 18:07:28 +00:00
parent 3f930cae77
commit b8fac6a0d6
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);
}