Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner

git-svn-id: svn://10.0.0.236/trunk@250347 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2008-04-17 08:15:14 +00:00
parent cf2df9bd29
commit 99445ef8c2
6 changed files with 100 additions and 27 deletions

View File

@@ -5101,7 +5101,7 @@ PresShell::ClipListToRange(nsDisplayListBuilder *aBuilder,
// wrap the item in an nsDisplayClip so that it can be clipped to
// the selection. If the allocation fails, fall through and delete
// the item below.
itemToInsert = new (aBuilder)nsDisplayClip(frame, i, textRect);
itemToInsert = new (aBuilder)nsDisplayClip(frame, frame, i, textRect);
}
}
else {