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/test | |
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/test')
-rw-r--r-- | layout/style/test/property_database.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index 635431e8f..1d5dc989f 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -7944,6 +7944,18 @@ for (var prop in gCSSProperties) { } } +if (IsCSSPropertyPrefEnabled("layout.css.scrollbar-width.enabled")) { + gCSSProperties["scrollbar-width"] = { + domProp: "scrollbarWidth", + inherited: false, + type: CSS_TYPE_LONGHAND, + initial_values: [ "auto" ], + other_values: [ "none", "thin" ], + invalid_values: [ "1px" ] + }; +} + + if (false) { // TODO These properties are chrome-only, and are not exposed via CSSOM. // We may still want to find a way to test them. See bug 1206999. |