mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1042772. Set the dirty rect relative to the current frame, not the reference frame. r=roc
The offsetToReferenceFrame is to the reference frame for this, since we are transformed we are the reference frame, so the offset was 0,0. So the computation still produced correct results.
This commit is contained in:
parent
7e632469bd
commit
d5d89be504
@ -2105,7 +2105,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
|
|||||||
clipState.Restore();
|
clipState.Restore();
|
||||||
// Revert to the dirtyrect coming in from the parent, without our transform
|
// Revert to the dirtyrect coming in from the parent, without our transform
|
||||||
// taken into account.
|
// taken into account.
|
||||||
buildingDisplayList.SetDirtyRect(aDirtyRect + offsetToReferenceFrame);
|
buildingDisplayList.SetDirtyRect(aDirtyRect);
|
||||||
|
|
||||||
if (Preserves3DChildren()) {
|
if (Preserves3DChildren()) {
|
||||||
WrapPreserve3DList(this, aBuilder, &resultList);
|
WrapPreserve3DList(this, aBuilder, &resultList);
|
||||||
|
Loading…
Reference in New Issue
Block a user