testwidgetfocus: Make focused button more obvious
authorTimm Bäder <mail@baedert.org>
Wed, 1 Nov 2017 11:47:11 +0000 (12:47 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 2 Nov 2017 10:25:41 +0000 (11:25 +0100)
tests/testwidgetfocus.c

index 8164759323c852c3dca44b6ba7d73047623b7e76..978aee643158a28f578b157d744157f1c6854030 100644 (file)
@@ -47,6 +47,10 @@ const char *css =
 "  background-color: white;"
 "  box-shadow: none;"
 "}"
+"focuswidget button:focus(visible) {"
+"  outline-width: 4px;"
+"  outline-color: yellow;"
+"}"
 "focuswidget button:hover {"
 "  background-color: black;"
 "  color: white;"