From f7c7cf1571c00855fa9bd1492f464f66e4551f24 Mon Sep 17 00:00:00 2001 From: Magnar Ovedal Myrtveit Date: Fri, 8 Mar 2024 15:00:34 +0100 Subject: [PATCH] Reset letter spacing for form elements Some browsers, such as Chrome, set `letter-spacing: normal` for form elements. For consistency with the other styles, it should be set to `inherit` by Preflight. --- src/css/preflight.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/css/preflight.css b/src/css/preflight.css index 7552e50354d9..7a0d82d46e04 100644 --- a/src/css/preflight.css +++ b/src/css/preflight.css @@ -175,6 +175,7 @@ textarea { font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ + letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 3 */