summaryrefslogtreecommitdiffstats
path: root/layout/style/nsStyleConsts.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-06 23:57:26 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-06 23:57:26 +0000
commit65da2431f9ee9711e971002ae17043c1a3d36a3f (patch)
treec461f5694d915ce1dfa5151f2d655162afbf4c81 /layout/style/nsStyleConsts.h
parent0e6a9cc60aeb754e00e466ce20052d2fa9ccb7f9 (diff)
downloadUXP-65da2431f9ee9711e971002ae17043c1a3d36a3f.tar
UXP-65da2431f9ee9711e971002ae17043c1a3d36a3f.tar.gz
UXP-65da2431f9ee9711e971002ae17043c1a3d36a3f.tar.lz
UXP-65da2431f9ee9711e971002ae17043c1a3d36a3f.tar.xz
UXP-65da2431f9ee9711e971002ae17043c1a3d36a3f.zip
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...
Diffstat (limited to 'layout/style/nsStyleConsts.h')
-rw-r--r--layout/style/nsStyleConsts.h7
1 files changed, 7 insertions, 0 deletions
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,