From 285c645b7877c03e11ad322dd33acf2b89c3fea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 30 May 2023 20:42:22 +0200 Subject: [PATCH] style: Make autofill background configurable via system color prefs And remove the autofill.background pref for 95 (or 96, depending on when this lands) assuming nothing terrible causes us to turn it off on 94. Differential Revision: https://phabricator.services.mozilla.com/D129988 --- components/style/values/specified/color.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/style/values/specified/color.rs b/components/style/values/specified/color.rs index d0f3ef80dcf..866a33273c8 100644 --- a/components/style/values/specified/color.rs +++ b/components/style/values/specified/color.rs @@ -427,6 +427,10 @@ pub enum SystemColor { #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] MozAccentColorForeground, + /// The background-color for :autofill-ed inputs. + #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] + MozAutofillBackground, + /// Media rebar text. MozWinMediatext, /// Communications rebar text.