mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 474723. Allow box-shadows to display on plugins by ensuring nsObjectFrames get the right overflow area. r+sr=roc
--HG-- extra : rebase_source : d58e810f0e3f82d2c81a09c3dc67c7800f5333ff
This commit is contained in:
parent
de7c8d503e
commit
5d8a255f31
@ -838,8 +838,7 @@ nsObjectFrame::Reflow(nsPresContext* aPresContext,
|
|||||||
|
|
||||||
// Get our desired size
|
// Get our desired size
|
||||||
GetDesiredSize(aPresContext, aReflowState, aMetrics);
|
GetDesiredSize(aPresContext, aReflowState, aMetrics);
|
||||||
aMetrics.mOverflowArea = nsRect(0, 0,
|
FinishAndStoreOverflow(&aMetrics);
|
||||||
aMetrics.width, aMetrics.height);
|
|
||||||
|
|
||||||
// delay plugin instantiation until all children have
|
// delay plugin instantiation until all children have
|
||||||
// arrived. Otherwise there may be PARAMs or other stuff that the
|
// arrived. Otherwise there may be PARAMs or other stuff that the
|
||||||
|
Loading…
Reference in New Issue
Block a user