Resolved this in GWT 1.4 (we're version locked due to WAS 6.0) by
modifying the com/google/gwt/user/client/impl/DOMImplMozilla.java file
in gwt-user.jar.  I assume a similar strategy would work in later
versions of GWT.

Replace the implementations of the getAbsoluteLeft and getAbsoluteTop
methods with:

        return elem.getBoundingClientRect().left -
$doc.documentElement.getBoundingClientRect().left;

                and

        return elem.getBoundingClientRect().top -
$doc.documentElement.getBoundingClientRect().top;

respectively.

Links I found helpful:
http://stackoverflow.com/questions/1018997/gwt-javascript-exception-in-hosted-mode-result-of-expression-doc-getboxobjectfo
https://bugzilla.mozilla.org/show_bug.cgi?id=409111#c14

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to