Skip to content

Commit 063eca6

Browse files
authored
Remove outdated focus style fix (tailwindlabs#4780)
* Remove outdated focus style fix from Preflight * Update fixtures
1 parent c0ee520 commit 063eca6

File tree

5 files changed

+0
-50
lines changed

5 files changed

+0
-50
lines changed

src/plugins/css/preflight.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ button {
2929
background-image: none;
3030
}
3131

32-
/**
33-
* Work around a Firefox/IE bug where the transparent `button` background
34-
* results in a loss of the default `button` focus styles.
35-
*/
36-
37-
button:focus {
38-
outline: 1px dotted;
39-
outline: 5px auto -webkit-focus-ring-color;
40-
}
41-
4232
fieldset {
4333
margin: 0;
4434
padding: 0;

tests/fixtures/tailwind-output-flagged.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,16 +330,6 @@ button {
330330
background-image: none;
331331
}
332332

333-
/**
334-
* Work around a Firefox/IE bug where the transparent `button` background
335-
* results in a loss of the default `button` focus styles.
336-
*/
337-
338-
button:focus {
339-
outline: 1px dotted;
340-
outline: 5px auto -webkit-focus-ring-color;
341-
}
342-
343333
fieldset {
344334
margin: 0;
345335
padding: 0;

tests/fixtures/tailwind-output-important.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,16 +330,6 @@ button {
330330
background-image: none;
331331
}
332332

333-
/**
334-
* Work around a Firefox/IE bug where the transparent `button` background
335-
* results in a loss of the default `button` focus styles.
336-
*/
337-
338-
button:focus {
339-
outline: 1px dotted;
340-
outline: 5px auto -webkit-focus-ring-color;
341-
}
342-
343333
fieldset {
344334
margin: 0;
345335
padding: 0;

tests/fixtures/tailwind-output-no-color-opacity.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,16 +330,6 @@ button {
330330
background-image: none;
331331
}
332332

333-
/**
334-
* Work around a Firefox/IE bug where the transparent `button` background
335-
* results in a loss of the default `button` focus styles.
336-
*/
337-
338-
button:focus {
339-
outline: 1px dotted;
340-
outline: 5px auto -webkit-focus-ring-color;
341-
}
342-
343333
fieldset {
344334
margin: 0;
345335
padding: 0;

tests/fixtures/tailwind-output.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,16 +330,6 @@ button {
330330
background-image: none;
331331
}
332332

333-
/**
334-
* Work around a Firefox/IE bug where the transparent `button` background
335-
* results in a loss of the default `button` focus styles.
336-
*/
337-
338-
button:focus {
339-
outline: 1px dotted;
340-
outline: 5px auto -webkit-focus-ring-color;
341-
}
342-
343333
fieldset {
344334
margin: 0;
345335
padding: 0;

0 commit comments

Comments
 (0)