philc/vimium — Issue #486: Fix up div scrolling
Author: int3
Created: 2012-02-24 12:40:07+00:00
State: open

Right now it uses the window's scrollHeight / scrollWidths as the maximum limits for scrolling any div -- we should use the div's dimensions instead.

Also, scrollActivatedElementBy(x, y) doesn't actually work if both x and y are nonzero. We don't actually need it to do so, so it's probably better to just split it up into two functions, or change its params to (direction, amount) instead.