From 0ac6aaa357ffcd604bd9799afe44e56253bc5849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 15 Aug 2023 01:11:45 +0200 Subject: [PATCH] style: Remove -moz-scrollbar-thumb-proportional It unconditionally matches on all platforms, so it's not returning any useful information. Depends on D147689 Differential Revision: https://phabricator.services.mozilla.com/D147690 --- components/style/gecko/media_features.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/style/gecko/media_features.rs b/components/style/gecko/media_features.rs index a559adbcb1a..8c93dfa24ce 100644 --- a/components/style/gecko/media_features.rs +++ b/components/style/gecko/media_features.rs @@ -586,7 +586,7 @@ macro_rules! bool_pref_feature { /// to support new types in these entries and (2) ensuring that either /// nsPresContext::MediaFeatureValuesChanged is called when the value that /// would be returned by the evaluator function could change. -pub static MEDIA_FEATURES: [QueryFeatureDescription; 60] = [ +pub static MEDIA_FEATURES: [QueryFeatureDescription; 59] = [ feature!( atom!("width"), AllowsRanges::Yes, @@ -855,10 +855,6 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 60] = [ ScrollArrowStyle, get_scrollbar_end_forward ), - lnf_int_feature!( - atom!("-moz-scrollbar-thumb-proportional"), - ScrollSliderStyle - ), lnf_int_feature!(atom!("-moz-menubar-drag"), MenuBarDrag), lnf_int_feature!(atom!("-moz-windows-default-theme"), WindowsDefaultTheme), lnf_int_feature!(atom!("-moz-mac-graphite-theme"), MacGraphiteTheme),