diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-06 23:57:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-06 23:57:26 +0000 |
commit | 65da2431f9ee9711e971002ae17043c1a3d36a3f (patch) | |
tree | c461f5694d915ce1dfa5151f2d655162afbf4c81 /layout/style/nsCSSPropList.h | |
parent | 0e6a9cc60aeb754e00e466ce20052d2fa9ccb7f9 (diff) | |
download | UXP-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/nsCSSPropList.h')
-rw-r--r-- | layout/style/nsCSSPropList.h | 10 |
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, |