Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
This commit is contained in:
@@ -450,8 +450,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
SetView(view);
|
||||
|
||||
// set the opacity
|
||||
viewMan->SetViewOpacity(view, GetStyleColor()->mOpacity);
|
||||
|
||||
viewMan->SetViewOpacity(view, GetStyleDisplay()->mOpacity);
|
||||
}
|
||||
mDidInit = PR_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user