Use document scroll height instead of offset height to support body with absolute height
Merge pull request #11722 from DocX/patch-1

Use document scroll height instead of offset height