summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-03-11 15:38:43 +0000
committerArtur Signell <artur.signell@itmill.com>2010-03-11 15:38:43 +0000
commitbe8e2da2a3d5d866185c99d4e57fd46d4b53d3e9 (patch)
treeb3832ac2b7cd587f46dbe1bcd0cdc02259d842f8 /tests/src
parent222a4f869a754a9f8c1294045423809f299886b9 (diff)
downloadvaadin-framework-be8e2da2a3d5d866185c99d4e57fd46d4b53d3e9.tar.gz
vaadin-framework-be8e2da2a3d5d866185c99d4e57fd46d4b53d3e9.zip
Fix for #3407 - Sub window higher than the browser window produces extra scrollbars for a relative sized child
Additional test case for #3407 svn changeset:11797/svn branch:6.3
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/vaadin/tests/components/window/ExtraLargeSubWindow.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/src/com/vaadin/tests/components/window/ExtraLargeSubWindow.java b/tests/src/com/vaadin/tests/components/window/ExtraLargeSubWindow.java
new file mode 100644
index 0000000000..bcaa44dc76
--- /dev/null
+++ b/tests/src/com/vaadin/tests/components/window/ExtraLargeSubWindow.java
@@ -0,0 +1,32 @@
+package com.vaadin.tests.components.window;
+
+import com.vaadin.tests.components.TestBase;
+import com.vaadin.ui.NativeButton;
+import com.vaadin.ui.Window;
+
+public class ExtraLargeSubWindow extends TestBase {
+
+ @Override
+ protected void setup() {
+ Window w = new Window("full sized window");
+ w.setWidth("2000px");
+ w.setHeight("2000px");
+ w.getContent().setSizeFull();
+ NativeButton b = new NativeButton("A large button");
+ b.setSizeFull();
+ w.addComponent(b);
+
+ getMainWindow().addWindow(w);
+ }
+
+ @Override
+ protected String getDescription() {
+ return "A 100%x100% sub window should not produce scrollbars in the main view or in the sub window. The button inside the sub window is 100%x100%, as is the layout";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 3407;
+ }
+
+}