]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove some code for IE 6 & 7 (#7913)
authorLeif Åstrand <leif@vaadin.com>
Fri, 27 Jan 2012 14:12:52 +0000 (16:12 +0200)
committerLeif Åstrand <leif@vaadin.com>
Fri, 27 Jan 2012 14:12:52 +0000 (16:12 +0200)
src/com/vaadin/terminal/gwt/client/ui/VTextField.java

index 26c7430e74dc12e717ebf7ff75c7cbda751a50f1..80dad78e58b4d2a3fcd83551a79bb0e8bf7dcf7c 100644 (file)
@@ -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()) {