зеркало из https://github.com/mozilla/gecko-dev.git
Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi
This commit is contained in:
Родитель
224588e46f
Коммит
f7967cae61
|
@ -2540,7 +2540,7 @@ nsComboboxControlFrame::Paint(nsIPresContext* aPresContext,
|
|||
PRBool clipEmpty;
|
||||
nsRect clipRect;
|
||||
mDisplayFrame->GetRect(clipRect);
|
||||
aRenderingContext.SetClipRect(clipRect, nsClipCombine_kReplace, clipEmpty);
|
||||
aRenderingContext.SetClipRect(clipRect, nsClipCombine_kIntersect, clipEmpty);
|
||||
PaintChild(aPresContext, aRenderingContext, aDirtyRect,
|
||||
mDisplayFrame, NS_FRAME_PAINT_LAYER_BACKGROUND);
|
||||
PaintChild(aPresContext, aRenderingContext, aDirtyRect,
|
||||
|
|
|
@ -2540,7 +2540,7 @@ nsComboboxControlFrame::Paint(nsIPresContext* aPresContext,
|
|||
PRBool clipEmpty;
|
||||
nsRect clipRect;
|
||||
mDisplayFrame->GetRect(clipRect);
|
||||
aRenderingContext.SetClipRect(clipRect, nsClipCombine_kReplace, clipEmpty);
|
||||
aRenderingContext.SetClipRect(clipRect, nsClipCombine_kIntersect, clipEmpty);
|
||||
PaintChild(aPresContext, aRenderingContext, aDirtyRect,
|
||||
mDisplayFrame, NS_FRAME_PAINT_LAYER_BACKGROUND);
|
||||
PaintChild(aPresContext, aRenderingContext, aDirtyRect,
|
||||
|
|
Загрузка…
Ссылка в новой задаче