Open Bug 1145471 Opened 9 years ago Updated 1 year ago

Treat images just outside a scrollframe as visible even if we can't scroll to it

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect

Tracking

()

People

(Reporter: seth, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1140619 we are trying to fix issues that arise from the interaction between decode-on-draw-only, downscale-during-decode, and the B2G Gallery app.

The Gallery app has a view where it displays images in a carousel. The current image is displayed inside the viewport. Just to the left of the viewport is the previous image in the carousel, and just to the right is the next image.

We want to regard those images as visible, locked, and decoded, even though they're in the overflow area and not actually visible.

It should be possible to do this by expanding the visible rect we compute here by a few CSS pixels:

https://dxr.mozilla.org/mozilla-central/source/layout/generic/nsGfxScrollFrame.cpp#2769
Summary: Treat content just outside a scrollframe as visible even if we can't scroll to it → Treat images just outside a scrollframe as visible even if we can't scroll to it
Product: Core → Core Graveyard
Product: Core Graveyard → Core

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: seth.bugzilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.