commit | c639f8960617e97368a660f9c50828e0f6f2eaad | [log] [tgz] |
---|---|---|
author | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Mar 18 01:06:16 2009 +0000 |
committer | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Mar 18 01:06:16 2009 +0000 |
tree | 7e8a895edf6dc004b62fb6c9c52e4cba56930f5d | |
parent | 849eefd87fdbfbf1862e5087c558bf2f29e0d9e4 [diff] |
Fixes a bug where MouseEvent.getX/Y() returns the incorrect value when the event is captured because the currentEventTarget is always the window on some browsers. Now, widgets send the relativeElement (themselves) with the MouseEvent so getX/Y() can be calculated. Patch by: jgw Review by: jlabanca git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@5035 8db76d5a-ed1c-0410-87a9-c151d255dfc7