From e0b996b88593a82507fb4b7e8010551d6ba55594 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Fri, 27 Jan 2012 16:12:52 +0200 Subject: [PATCH] Remove some code for IE 6 & 7 (#7913) --- src/com/vaadin/terminal/gwt/client/ui/VTextField.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTextField.java b/src/com/vaadin/terminal/gwt/client/ui/VTextField.java index 26c7430e74..80dad78e58 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VTextField.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VTextField.java @@ -90,12 +90,6 @@ public class VTextField extends TextBoxBase implements VPaintableWidget, Field, protected VTextField(Element node) { super(node); - if (BrowserInfo.get().getIEVersion() > 0 - && BrowserInfo.get().getIEVersion() < 8) { - // Fixes IE margin problem (#2058) - DOM.setStyleAttribute(node, "marginTop", "-1px"); - DOM.setStyleAttribute(node, "marginBottom", "-1px"); - } setStyleName(CLASSNAME); addChangeHandler(this); if (BrowserInfo.get().isIE()) { -- 2.39.5