Fixed wrong scroll position calculation #428.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 27 Jun 2017 21:21:16 +0000 (23:21 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 27 Jun 2017 21:30:56 +0000 (23:30 +0200)
commitedce4234d3d2b205eab1c5aaef6623849f1cbb32
tree5388abe9b24e328892ef89e17116c69ba4b943c6
parentdbec4470bf870fb04ab5836fca4c7844fdf4fcfb
Fixed wrong scroll position calculation #428.

We use the scrollHeight and the scrollTop of the
document.documentElement. But there are pages where the scrollHeight is
calculated as the same value like the height of the viewport. I can't
identify what causes this issue, but using the document.body
scrollHeight fixes this.
src/webextension/ext-main.c