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:
parent
fee299ef36
commit
08d99078d0
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user