--- /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>New Test</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.button.ButtonsInHorizontalLayout?restartApplication&theme=reindeer</td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>reindeer</td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.button.ButtonsInHorizontalLayout?restartApplication&theme=runo</td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>runo</td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.button.ButtonsInHorizontalLayout?restartApplication&theme=chameleon</td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>chameleon</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
--- /dev/null
+package com.vaadin.tests.components.button;\r
+\r
+import com.vaadin.tests.components.AbstractTestCase;\r
+import com.vaadin.ui.Button;\r
+import com.vaadin.ui.HorizontalLayout;\r
+import com.vaadin.ui.VerticalLayout;\r
+import com.vaadin.ui.Window;\r
+\r
+public class ButtonsInHorizontalLayout extends AbstractTestCase {\r
+\r
+ @Override\r
+ public void init() {\r
+ VerticalLayout content = new VerticalLayout();\r
+ content.setMargin(true);\r
+ HorizontalLayout layout = new HorizontalLayout();\r
+ layout.setSpacing(true);\r
+ layout.addComponent(new Button(\r
+ "Look at me in IE7 or IE8 in compatibility mode"));\r
+ layout.addComponent(new Button(\r
+ "Look at me in IE7 or IE8 in compatibility mode"));\r
+ layout.addComponent(new Button(\r
+ "Look at me in IE7 or IE8 in compatibility mode"));\r
+ content.addComponent(layout);\r
+ setMainWindow(new Window("", content));\r
+ }\r
+\r
+ @Override\r
+ protected String getDescription() {\r
+ return "Tests for rendering of buttons in a HorizontalLayout";\r
+ }\r
+\r
+ @Override\r
+ protected Integer getTicketNumber() {\r
+ return 7978;\r
+ }\r
+\r
+}\r