From ddec809e9b8fc4d067866ecff4e05d48cb12e092 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 12 Sep 2012 15:06:09 +0300 Subject: [PATCH] Add some explanatory Javadoc --- client/src/com/vaadin/client/LayoutManagerIE8.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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(); -- 2.39.5