From a8bcfc7f77eb056425e7509c59a092362edc9c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 6 Jun 2023 13:06:12 +0200 Subject: [PATCH] style: Remove unnecessary button-focus appearance value on Linux This always draws transparent. Only real thing it does is forcing 0px padding. Differential Revision: https://phabricator.services.mozilla.com/D132563 --- components/style/values/specified/box.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 1628b396730..83fa2c8bd51 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -1658,9 +1658,6 @@ pub enum Appearance { ButtonArrowPrevious, #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] ButtonArrowUp, - /// The focus outline box inside of a button. - #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] - ButtonFocus, /// A dual toolbar button (e.g., a Back button with a dropdown) #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] Dualbutton,