Bug 10939: Make image input element transparent

git-svn-id: svn://10.0.0.236/trunk@43138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com 1999-08-11 03:30:25 +00:00
parent fee299ef36
commit 08d99078d0
2 changed files with 2 additions and 0 deletions

View File

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

View File

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