From: Leif Åstrand Date: Wed, 12 Sep 2012 12:06:09 +0000 (+0300) Subject: Add some explanatory Javadoc X-Git-Tag: 7.0.0.beta1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ddec809e9b8fc4d067866ecff4e05d48cb12e092;p=vaadin-framework.git Add some explanatory Javadoc --- diff --git a/client/src/com/vaadin/client/LayoutManagerIE8.java b/client/src/com/vaadin/client/LayoutManagerIE8.java index 4cc06baf4c..a086a529c7 100644 --- a/client/src/com/vaadin/client/LayoutManagerIE8.java +++ b/client/src/com/vaadin/client/LayoutManagerIE8.java @@ -23,6 +23,18 @@ import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.ui.RootPanel; +/** + * Alternative MeasuredSize storage for IE8. Storing any information in a DOM + * element in IE8 seems to make the browser think the element has changed in a + * way that requires a reflow. To work around that, the MeasureData is instead + * stored in Map for IE8. + * + * This implementation is injected for IE8 by a replace-with definition in the + * GWT module. + * + * @author Vaadin Ltd + * @since 7.0.0 + */ public class LayoutManagerIE8 extends LayoutManager { private Map measuredSizes = new HashMap();