summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-13 00:25:23 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-13 00:25:23 +0000
commit51581427794bb41142285bc837e9cf461d8abe7a (patch)
tree0be420e6bbd39dbdc889d341fa9a70300b3613c6 /layout/style/nsCSSPropList.h
parent7023db88ca13046fda9204b018d8f48f10e44ec4 (diff)
parent0939fde1a45d757debf36394c5a76bfb0951b8d7 (diff)
downloadUXP-51581427794bb41142285bc837e9cf461d8abe7a.tar
UXP-51581427794bb41142285bc837e9cf461d8abe7a.tar.gz
UXP-51581427794bb41142285bc837e9cf461d8abe7a.tar.lz
UXP-51581427794bb41142285bc837e9cf461d8abe7a.tar.xz
UXP-51581427794bb41142285bc837e9cf461d8abe7a.zip
Merge pull request 'Add scrollbar-width CSS spec' (#1707) from 1705 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1707
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index 658ea68d7..e78dafcc5 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -3709,6 +3709,16 @@ CSS_PROP_DISPLAY(
kScrollSnapTypeKTable,
CSS_PROP_NO_OFFSET,
eStyleAnimType_Discrete)
+CSS_PROP_USERINTERFACE(
+ scrollbar-width,
+ scrollbar_width,
+ ScrollbarWidth,
+ CSS_PROPERTY_PARSE_VALUE,
+ "layout.css.scrollbar-width.enabled",
+ VARIANT_HK,
+ kScrollbarWidthKTable,
+ CSS_PROP_NO_OFFSET,
+ eStyleAnimType_Discrete)
CSS_PROP_DISPLAY(
shape-outside,
shape_outside,