Closed Bug 593892 Opened 14 years ago Closed 14 years ago

draw the previous page if the current page is suppressed

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(2 files)

There are some rendering artifacts that happen on page transition that occur because we receive an invalidate of the old page, but when we serve that invalidate we have started drawing the new page while it still has painting suppressed. Unless the invalidate is for the whole page this looks bad because it looks like a piece of the old page has been erased. What makes this problem worse is that if the user clicks a link, it will receive a focus rectangle. This focus rectangle will be removed before we start drawing the new page, but we still draw the old page for a time. The invalidate for this focus removal can easily be one of the "bad invalidates" described above.

I am proposing that if the new page has painting suppressed we continue to draw the old page to fix this.
Attached patch patchSplinter Review
Assignee: nobody → tnikkel
Attachment #472510 - Flags: review?(roc)
Attached patch fix a testSplinter Review
Attachment #472511 - Flags: review?(roc)
Attachment #472510 - Flags: approval2.0?
Attachment #472511 - Flags: approval2.0?
http://hg.mozilla.org/mozilla-central/rev/11dde247db37
http://hg.mozilla.org/mozilla-central/rev/d5f25a96f0b1
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: