From 4d8f55a7cb29e1042924b5725e4e8d2d560fbe67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 28 Jan 2021 22:11:54 +0000 Subject: [PATCH] style: Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. There's no reason we should need an scrollbar box to query the size of a scrollbar. I plan to use this in the following patch to make the size of a resizer not vary depending on whether the container has scrollbars or not, which is what ultimately causes the reftest failure. Differential Revision: https://phabricator.services.mozilla.com/D103302 --- components/style/values/specified/box.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 1e135b4757e..94785b60988 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -1834,10 +1834,6 @@ pub enum Appearance { #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] MozMacVibrantTitlebarLight, - /// A non-disappearing scrollbar. - #[css(skip)] - ScrollbarNonDisappearing, - /// A themed focus outline (for outline:auto). /// /// This isn't exposed to CSS at all, just here for convenience.