Skip to content

Commit

Permalink
HTML Reporter: Restore focus ring on toolbar buttons
Browse files Browse the repository at this point in the history
Follows-up 06c3951. The new `all: unset;` led to us losing the
native focus styles.
  • Loading branch information
Krinkle committed Apr 18, 2022
1 parent ca1cd51 commit 89a6664
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qunit.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@
background-color: #CCC;
color: #000;
}
#qunit-testrunner-toolbar button:focus,
#qunit-testresult button:focus {
border-color: #2F68DA;
/* emulate 2px border without a layout shift */
box-shadow: inset 0 0 0 1px #2F68DA
}
#qunit-testrunner-toolbar button:disabled,
#qunit-testresult button:disabled {
border-color: #CCC;
Expand Down

0 comments on commit 89a6664

Please sign in to comment.