From 65da2431f9ee9711e971002ae17043c1a3d36a3f Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 6 Jan 2021 23:57:26 +0000 Subject: Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser. This should be all parts needed to add a brand new enum keyword including getting the computed style from it... --- layout/style/nsStyleConsts.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'layout/style/nsStyleConsts.h') diff --git a/layout/style/nsStyleConsts.h b/layout/style/nsStyleConsts.h index e6a0cc65a..308a66647 100644 --- a/layout/style/nsStyleConsts.h +++ b/layout/style/nsStyleConsts.h @@ -187,6 +187,13 @@ enum class StyleFloatEdge : uint8_t { MarginBox, }; +// scrollbar-width +enum class StyleScrollbarWidth : uint8_t { + Auto, + Thin, + None, +}; + // shape-box for shape-outside enum class StyleShapeOutsideShapeBox : uint8_t { NoBox, -- cgit v1.2.3