From: Leif Åstrand Date: Fri, 27 Jan 2012 14:12:52 +0000 (+0200) Subject: Remove some code for IE 6 & 7 (#7913) X-Git-Tag: 7.0.0.alpha2~531 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e0b996b88593a82507fb4b7e8010551d6ba55594;p=vaadin-framework.git Remove some code for IE 6 & 7 (#7913) --- 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()) {