From b9114478d4b071059507743d60ecf50422495508 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 18 Nov 2017 10:30:00 -0500 Subject: [PATCH 1/2] Revert trying to reset Chrome 62 default button styles --- __tests__/fixtures/tailwind-output.css | 13 ------------- css/preflight.css | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 64c2c0dd2..4415f8514 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -530,19 +530,6 @@ fieldset { border-color: #dae4e9; } -/** - * Temporary reset for a change introduced in Chrome 62 but now reverted. - * - * We can remove this when the reversion is in a normal Chrome release. - */ -input[type="button" i], -input[type="submit" i], -input[type="reset" i], -input[type="file" i]::-webkit-file-upload-button, -button { - border-radius: 0; -} - textarea { resize: vertical; } diff --git a/css/preflight.css b/css/preflight.css index ac77396e5..11e044c17 100644 --- a/css/preflight.css +++ b/css/preflight.css @@ -530,19 +530,6 @@ fieldset { border-color: config('borderColors.default', currentColor); } -/** - * Temporary reset for a change introduced in Chrome 62 but now reverted. - * - * We can remove this when the reversion is in a normal Chrome release. - */ -input[type="button" i], -input[type="submit" i], -input[type="reset" i], -input[type="file" i]::-webkit-file-upload-button, -button { - border-radius: 0; -} - textarea { resize: vertical; } img { max-width: 100%; } From 7305bac1761cd1622ca8a7733aa026291ccf6ad2 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 18 Nov 2017 10:45:29 -0500 Subject: [PATCH 2/2] Reset radius applied by Chrome 62 using low specificity selectors --- __tests__/fixtures/tailwind-output.css | 12 ++++++++++++ css/preflight.css | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 4415f8514..f32405ed0 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -530,6 +530,18 @@ fieldset { border-color: #dae4e9; } +/** + * Temporary reset for a change introduced in Chrome 62 but now reverted. + * + * We can remove this when the reversion is in a normal Chrome release. + */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + border-radius: 0; +} + textarea { resize: vertical; } diff --git a/css/preflight.css b/css/preflight.css index 11e044c17..2730fde63 100644 --- a/css/preflight.css +++ b/css/preflight.css @@ -530,6 +530,18 @@ fieldset { border-color: config('borderColors.default', currentColor); } +/** + * Temporary reset for a change introduced in Chrome 62 but now reverted. + * + * We can remove this when the reversion is in a normal Chrome release. + */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + border-radius: 0; +} + textarea { resize: vertical; } img { max-width: 100%; }