Revision: 7026
Author: [email protected]
Date: Thu Nov 19 12:20:58 2009
Log: Fix for bug introduced in r6354. While fixing an
extra-horizontal-overflow bug on IE, we accidentally introduced a bug in
ScrollPanel rendering in IE6/7-quirks. Turns out both divs needed to be
position:relative. Go figure.
Review: jlabanca (desk check)
http://code.google.com/p/google-web-toolkit/source/detail?r=7026

Modified:
  /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java

=======================================
--- /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java      Tue Oct 
 
13 05:52:22 2009
+++ /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java      Thu Nov 
 
19 12:20:58 2009
@@ -41,6 +41,7 @@
      getElement().appendChild(containerElem);

      // Prevent IE standard mode bug when a AbsolutePanel is contained.
+    DOM.setStyleAttribute(getElement(), "position", "relative");
      DOM.setStyleAttribute(containerElem, "position", "relative");

      // Hack to account for the IE6/7 scrolling bug described here:

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to