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:
Timothy Nikkel 2014-08-07 11:33:14 -05:00
Родитель f7c6083ca7
Коммит 4dcc187fd5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2105,7 +2105,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
clipState.Restore();
// Revert to the dirtyrect coming in from the parent, without our transform
// taken into account.
buildingDisplayList.SetDirtyRect(aDirtyRect + offsetToReferenceFrame);
buildingDisplayList.SetDirtyRect(aDirtyRect);
if (Preserves3DChildren()) {
WrapPreserve3DList(this, aBuilder, &resultList);