summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-04-23 14:29:25 +0300
committerPekka Hyvönen <pekka@vaadin.com>2015-04-27 06:53:08 +0000
commit98f22b3a664034b655c08f7c20dbe4219052865b (patch)
tree4c772e5f94759f48c490630a9cc76430710061a2 /client
parent0435a27fc9ed0e04f33d7b046e66f571ab4b09e0 (diff)
downloadvaadin-framework-98f22b3a664034b655c08f7c20dbe4219052865b.tar.gz
vaadin-framework-98f22b3a664034b655c08f7c20dbe4219052865b.zip
Fixed Grid details row height regression and refactored tests (#17423)
Fixed regression caused by initial #17423 change Refactored tests for Grid's details row and added @TestCategory("grid"). Change-Id: I0b68eb7d6650d16700104f76b00972483d615855
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 005532a849..08a86fe6a7 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -2901,7 +2901,7 @@ public class Grid<T> extends ResizeComposite implements
* re-measure it to make sure that it's the correct height.
*/
double measuredHeight = WidgetUtil
- .getRequiredHeightBoundingClientRectDouble(spacerElement);
+ .getRequiredHeightBoundingClientRectDouble(element);
assert getElement().isOrHasChild(spacerElement) : "The spacer element wasn't in the DOM during measurement, but was assumed to be.";
spacerHeight = measuredHeight;
}