@@ -0,0 +1,911 @@
+package com.vaadin.tests.components.window;%0D%0A%0D%0Aimport com.vaadin.tests.components.TestBase;%0D%0Aimport com.vaadin.ui.NativeButton;%0D%0Aimport com.vaadin.ui.Window;%0D%0A%0D%0Apublic class FullSizedWindow extends TestBase %7B%0D%0A%0D%0A    @Override%0D%0A    protected void setup() %7B%0D%0A        Window w = new Window(%22full sized window%22);%0D%0A        w.setSizeFull();%0D%0A        w.getContent().setSizeFull();%0D%0A        NativeButton b = new NativeButton(%22A large button%22);%0D%0A        b.setSizeFull();%0D%0A        w.getContent().addComponent(b);%0D%0A        getMainWindow().addWindow(w);%0D%0A        setTheme(%22runo%22);%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected String getDescription() %7B%0D%0A        return %22A 100%25x100%25 sub window should not produce scrollbars in the main view or in the sub window. The button inside the sub window is 100%25x100%25, as is the layout%22;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected Integer getTicketNumber() %7B%0D%0A        return 3407;%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Test case for #3407