From 98f22b3a664034b655c08f7c20dbe4219052865b Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Thu, 23 Apr 2015 14:29:25 +0300 Subject: 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 --- client/src/com/vaadin/client/widgets/Grid.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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 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; } -- cgit v1.2.3