During scrolling, display port margins can go through large changes. A fast fling can produce a display port that's 10,000 CSS pixels high or more! Those huge display ports do get shrunk back down once scrolling stops or slows down, but we currently don't have any way of updating image visibility information when that happens. Let's add code to update image visibility information when display port margins change.
Here's the patch. So easy!
Attachment #8613201 - Flags: review?(tnikkel)
Attachment #8613201 - Flags: review?(tnikkel) → review+
Comment on attachment 8613201 [details] [diff] [review] Recompute image visibility when display port margins change NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): Not sure, but it was exposed by the fact that we enabled image locking on B2G in bug 1148696. User impact if declined: Images may fail to decode due to low memory, causing blank thumbnails in the gallery which may persist across reboots (making this effectively a data loss issue). This patch is one of several that together fix bug 1166136, which is nominated for blocking 2.2, and bug 1164164, which is a 2.2 blocker. Testing completed: Extensively tested locally. On mozilla-central. Risk to taking this patch (and alternatives if risky): This is a very simple, low risk patch. String or UUID changes made by this patch: None.
Attachment #8613201 - Flags: approval-mozilla-b2g37?
Attachment #8613201 - Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
You need to log in before you can comment on or make changes to this bug.