RequestContentRepaint would not be called in some cases and Mouse events stop working

NEW
Unassigned

Status

()

5 years ago
5 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
I've been checking one bug in APZC and found issue when
visible area  = 800 Height (cssCompositedRect).. page length 2000px, and offscreen display port big enough so it cover whole page.

in this case we have scroll distance = 2000 - 800, but we never call GeckoContentController::RequestContentRepaint because display port isn't changed and we exit at 
http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#1062  condition.
in this case scrollOffset would stay always at y=0, and original SetScrollPositionClampingScrollPortSize = 800, and layout does not process any mouse/touch events outside of that rect.
You need to log in before you can comment on or make changes to this bug.