mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Bug 805507 - Only invalidate tables when the visual overflow changes. r=roc
This commit is contained in:
parent
b8c6a8736d
commit
1c5ac115d5
@ -7297,8 +7297,9 @@ nsTableFrame::InvalidateTableFrame(nsIFrame* aFrame,
|
||||
// XXXbz this doesn't handle outlines, does it?
|
||||
aFrame->InvalidateFrame();
|
||||
parent->InvalidateFrameWithRect(aOrigVisualOverflow + aOrigRect.TopLeft());
|
||||
} else {
|
||||
aFrame->InvalidateFrameWithRect(aOrigVisualOverflow);;
|
||||
} else if (aOrigRect.Size() != aFrame->GetSize() ||
|
||||
aOrigVisualOverflow.Size() != visualOverflow.Size()){
|
||||
aFrame->InvalidateFrameWithRect(aOrigVisualOverflow);
|
||||
aFrame->InvalidateFrame();
|
||||
parent->InvalidateFrameWithRect(aOrigRect);;
|
||||
parent->InvalidateFrame();
|
||||
|
Loading…
Reference in New Issue
Block a user