Skip to content

Commit

Permalink
Remove outdated focus style fix (#4780)
Browse files Browse the repository at this point in the history
* Remove outdated focus style fix from Preflight

* Update fixtures
  • Loading branch information
adamwathan committed Jun 23, 2021
1 parent c0ee520 commit 063eca6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 50 deletions.
10 changes: 0 additions & 10 deletions src/plugins/css/preflight.css
Expand Up @@ -29,16 +29,6 @@ button {
background-image: none;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
margin: 0;
padding: 0;
Expand Down
10 changes: 0 additions & 10 deletions tests/fixtures/tailwind-output-flagged.css
Expand Up @@ -330,16 +330,6 @@ button {
background-image: none;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
margin: 0;
padding: 0;
Expand Down
10 changes: 0 additions & 10 deletions tests/fixtures/tailwind-output-important.css
Expand Up @@ -330,16 +330,6 @@ button {
background-image: none;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
margin: 0;
padding: 0;
Expand Down
10 changes: 0 additions & 10 deletions tests/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -330,16 +330,6 @@ button {
background-image: none;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
margin: 0;
padding: 0;
Expand Down
10 changes: 0 additions & 10 deletions tests/fixtures/tailwind-output.css
Expand Up @@ -330,16 +330,6 @@ button {
background-image: none;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
margin: 0;
padding: 0;
Expand Down

0 comments on commit 063eca6

Please sign in to comment.