From 48fbea17d6f757358d895d75cd5557bd30fafeef Mon Sep 17 00:00:00 2001 From: ianbelanger Date: Mon, 9 Dec 2019 15:10:00 +0000 Subject: [PATCH] Bundled Themes: Misaligned input placeholder text Twenty Twenty. This fixes placeholder misalignment in Firefox when a `height` is added as an inline style to the input field. Props aljullu, subratamal. Fixes #48876. Built from https://develop.svn.wordpress.org/trunk@46851 git-svn-id: http://core.svn.wordpress.org/trunk@46651 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style.css | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index e1e1be4555..2562eb1624 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -816,7 +816,10 @@ input:-ms-input-placeholder { } input::-moz-placeholder { - line-height: normal; + /* Browsers supporting line-height revert + * to reset a property to the value established by the user-agent stylesheet + */ + line-height: revert; } input[type="search"]::-webkit-search-decoration, diff --git a/wp-includes/version.php b/wp-includes/version.php index 155cb284c0..5fba816131 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46849'; +$wp_version = '5.4-alpha-46851'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.