summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-08-15 14:54:42 +0300
committerJohn Ahlroos <john@vaadin.com>2012-08-15 14:54:42 +0300
commit50f91c0e69258de59958328bf1f79b58857fe0b8 (patch)
tree1901f5fa77e6fb3ecaa3da6ba11a3ae6b0813c19 /client
parent66874cf0697a44be2a7e7e5ceb0c406693c70ed6 (diff)
downloadvaadin-framework-50f91c0e69258de59958328bf1f79b58857fe0b8.tar.gz
vaadin-framework-50f91c0e69258de59958328bf1f79b58857fe0b8.zip
Removed workaround for GWT issue #6130 after applying patch
http://code.google.com/p/google-web-toolkit/issues/detail?id=6130 to GWT branch.
Diffstat (limited to 'client')
-rw-r--r--client/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/client/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java b/client/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java
deleted file mode 100644
index 6e9cc81f43..0000000000
--- a/client/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-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) {
- // Chrome returns a float in certain cases (at least when zoom != 100%).
- // The |0 ensures it is converted to an int.
- return super.getAbsoluteLeft(elem) | 0;
- }
-
- @Override
- public int getAbsoluteTop(Element elem) {
- // Chrome returns a float in certain cases (at least when zoom != 100%).
- // The |0 ensures it is converted to an int.
- return super.getAbsoluteTop(elem) | 0;
- }
-}