Reinstated clipping code which had been backed out because it caused

a problem for XUL layout. I added a workaround for the XUL problem
This commit is contained in:
troy@netscape.com
2000-04-25 04:43:11 +00:00
parent 2231a3b52f
commit 3cb3cfefb2
41 changed files with 542 additions and 362 deletions

View File

@@ -240,7 +240,7 @@ nsImageControlFrame::Init(nsIPresContext* aPresContext,
parWithView->GetView(aPresContext, &parView);
// the view's size is not know yet, but its size will be kept in synch with our frame.
nsRect boundBox(0, 0, 0, 0);
result = view->Init(viewMan, boundBox, parView, nsnull);
result = view->Init(viewMan, boundBox, parView);
view->SetContentTransparency(PR_TRUE);
viewMan->InsertChild(parView, view, 0);
SetView(aPresContext, view);