From cd4d2819848404e0eaa94cb3cec46a413d3907a7 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 1 Aug 2018 14:13:41 +1000 Subject: [PATCH] style: Add scrollbar-width property. Bug: 1475033 Reviewed-by: heycam --- components/style/properties/longhands/ui.mako.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/style/properties/longhands/ui.mako.rs b/components/style/properties/longhands/ui.mako.rs index 13a940b2b96..419024862d4 100644 --- a/components/style/properties/longhands/ui.mako.rs +++ b/components/style/properties/longhands/ui.mako.rs @@ -16,6 +16,17 @@ ${helpers.single_keyword("ime-mode", "auto normal active disabled inactive", animation_value_type="discrete", spec="https://drafts.csswg.org/css-ui/#input-method-editor")} +${helpers.single_keyword( + "scrollbar-width", + "auto thin none", + products="gecko", + gecko_enum_prefix="StyleScrollbarWidth", + animation_value_type="discrete", + gecko_pref="layout.css.scrollbar-width.enabled", + enabled_in="chrome", + spec="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-width" +)} + ${helpers.single_keyword("-moz-user-select", "auto text none all element elements" + " toggle tri-state -moz-all -moz-text", products="gecko",