philc/vimium — pull request #533 by Knorkebrot (2012-05-07 21:55:30+00:00)
Title: getVisibleClientRect: correct top/left offset if body/html is pos. relative

if body/html are positioned relative, an absolute positioned element
will be positioned relative to body/html and not window.
Make up for that by substracting body's
left-/right-position (relative to the screen) + scroll-position

append hintMarkerContainingDiv to body

Test this by setting `

`'s position to 'relative' and adding a margin. Then press 'f'.
Repeat with `` and with `` and `

`.