summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-12 15:06:09 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-12 15:13:49 +0300
commitddec809e9b8fc4d067866ecff4e05d48cb12e092 (patch)
treedc5c336c7214bc2a259e1683d93bfab21915f6c3 /client
parent785ef1d02d383b4fd5905de6022efc817cbf09a8 (diff)
downloadvaadin-framework-ddec809e9b8fc4d067866ecff4e05d48cb12e092.tar.gz
vaadin-framework-ddec809e9b8fc4d067866ecff4e05d48cb12e092.zip
Add some explanatory Javadoc
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/LayoutManagerIE8.java12
1 files changed, 12 insertions, 0 deletions
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<Element, MeasuredSize> measuredSizes = new HashMap<Element, MeasuredSize>();