From a824096bb92675998ce2e71bcbeb755070b2a9c3 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 23 Jun 2021 14:03:21 -0400 Subject: [PATCH 1/2] Remove outdated focus style fix from Preflight --- src/plugins/css/preflight.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/plugins/css/preflight.css b/src/plugins/css/preflight.css index f942f05e423a..2ae0914efa99 100644 --- a/src/plugins/css/preflight.css +++ b/src/plugins/css/preflight.css @@ -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; From 7761f962c77b4923f4b75221a7a55e8380c31284 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 23 Jun 2021 14:05:36 -0400 Subject: [PATCH 2/2] Update fixtures --- tests/fixtures/tailwind-output-flagged.css | 10 ---------- tests/fixtures/tailwind-output-important.css | 10 ---------- tests/fixtures/tailwind-output-no-color-opacity.css | 10 ---------- tests/fixtures/tailwind-output.css | 10 ---------- 4 files changed, 40 deletions(-) diff --git a/tests/fixtures/tailwind-output-flagged.css b/tests/fixtures/tailwind-output-flagged.css index b8a64c546e56..f17618f8b33f 100644 --- a/tests/fixtures/tailwind-output-flagged.css +++ b/tests/fixtures/tailwind-output-flagged.css @@ -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; diff --git a/tests/fixtures/tailwind-output-important.css b/tests/fixtures/tailwind-output-important.css index 9619935f699c..1fc4166cbd22 100644 --- a/tests/fixtures/tailwind-output-important.css +++ b/tests/fixtures/tailwind-output-important.css @@ -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; diff --git a/tests/fixtures/tailwind-output-no-color-opacity.css b/tests/fixtures/tailwind-output-no-color-opacity.css index 2a9f5b8f099e..6de85f5c3a37 100644 --- a/tests/fixtures/tailwind-output-no-color-opacity.css +++ b/tests/fixtures/tailwind-output-no-color-opacity.css @@ -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; diff --git a/tests/fixtures/tailwind-output.css b/tests/fixtures/tailwind-output.css index b8a64c546e56..f17618f8b33f 100644 --- a/tests/fixtures/tailwind-output.css +++ b/tests/fixtures/tailwind-output.css @@ -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;