diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2017-11-28 13:34:00 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-11-28 13:34:00 +0200 |
commit | 0fd59e941bb8ed0418cbb75a05c507aaeba09e47 (patch) | |
tree | 935b9df3e40608a3bdcf69b2da6d031ab236069f /uitest/src/main/java/com | |
parent | d936003c92a8e3ac2e1c0637ac240f3d7624bc0d (diff) | |
download | vaadin-framework-0fd59e941bb8ed0418cbb75a05c507aaeba09e47.tar.gz vaadin-framework-0fd59e941bb8ed0418cbb75a05c507aaeba09e47.zip |
Fix styling of Window control buttons to show focus (#10285)
Fixes #8918
Diffstat (limited to 'uitest/src/main/java/com')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java b/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java new file mode 100644 index 0000000000..ce30991be1 --- /dev/null +++ b/uitest/src/main/java/com/vaadin/tests/themes/valo/WindowControlButtonFocus.java @@ -0,0 +1,25 @@ +package com.vaadin.tests.themes.valo; + +import com.vaadin.server.VaadinRequest; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.Label; +import com.vaadin.ui.Window; + +public class WindowControlButtonFocus extends AbstractTestUI { + @Override + protected void setup(VaadinRequest request) { + Window window = new Window("Window", new Label()); + window.center(); + addWindow(window); + } + + @Override + protected Integer getTicketNumber() { + return 8918; + } + + @Override + protected String getTestDescription() { + return "Window control buttons should have noticeable focus styles."; + } +} |