fix #1137 utils.Dom.getGeometry on absolutely positioned parents

This PR contains two commits

- first is regression tests for util.Dom.getGeometry
- the second is a fix for #1137.

Refer to the commit messages for detailed info.