On Chrome and Safari in RTL mode, getAbsoluteLeft() returns the wrong value if a scrollable div is in the hierarchy because offsetLeft is relative to the left edge of the scrollable div when scrolled all the way to the right, not when scrolled to the left.  This patch adds back the difference between the left edge when scrolled to the left and the left edge when scrolled to the right.

Patch by: jlabanca
Review by: ecc (desk)



git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4783 8db76d5a-ed1c-0410-87a9-c151d255dfc7
4 files changed