--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>FixedHeighTable</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">New Test</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.table.FixedHeightTable</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForVaadin</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>initial</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
--- /dev/null
+package com.vaadin.tests.components.table;\r
+\r
+import com.vaadin.tests.components.TestBase;\r
+import com.vaadin.ui.Table;\r
+import com.vaadin.ui.TextField;\r
+import com.vaadin.ui.VerticalLayout;\r
+\r
+public class FixedHeightTable extends TestBase {\r
+\r
+ private static final long serialVersionUID = -929892889178757852L;\r
+ Table table;\r
+ VerticalLayout layout;\r
+\r
+ @Override\r
+ public void setup() {\r
+\r
+ table = new Table();\r
+ table.addContainerProperty("test", TextField.class, null);\r
+ table.setSizeFull();\r
+ // bug: settings rows to 16 or more => last line is not rendered at all\r
+ // on the client-side.\r
+ final int maxRows = 16;\r
+ for (int i = 1; i <= maxRows; i++) {\r
+ final TextField tf = new TextField();\r
+ tf.setValue(i);\r
+ table.addItem(new Object[] { tf }, i);\r
+ }\r
+\r
+ VerticalLayout vl = new VerticalLayout();\r
+ vl.setHeight("400px");\r
+ vl.setWidth("300px");\r
+ vl.addComponent(table);\r
+\r
+ addComponent(vl);\r
+ }\r
+\r
+ @Override\r
+ protected String getDescription() {\r
+ return "The table contains 16 (1-16) rows which all should be visible";\r
+ }\r
+\r
+ @Override\r
+ protected Integer getTicketNumber() {\r
+ return 3814;\r
+ }\r
+}
\ No newline at end of file