blob: deb9efbaec3772d81b845f5f5f60aab6f720f7f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.google.gwt.dom.client;
/**
* Overridden to workaround GWT issue #6194. Remove this when updating to a
* newer GWT that fixes the problem (2.3.0 possibly). Must be in this package as
* the whole DOMImpl hierarchy is package private and I really did not want to
* copy all the parent classes into this one...
*/
class VaadinDOMImplSafari extends DOMImplSafari {
@Override
public int getAbsoluteLeft(Element elem) {
return super.getAbsoluteLeft(elem) | 0;
}
@Override
public int getAbsoluteTop(Element elem) {
return super.getAbsoluteTop(elem) | 0;
}
}
|