diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2022-05-03 09:01:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-05-03 09:02:24 -0500 |
commit | 3666f2c937cc893ca6ac7c82ee7bf4840dbe829c (patch) | |
tree | 02d7e849556f300cae3ee243b46d1de639099b3b /layout | |
parent | 87e8ddba66464d25ef4b6f68caaa181489545902 (diff) | |
download | aura-central-3666f2c937cc893ca6ac7c82ee7bf4840dbe829c.tar.gz |
[Layout:Style] Follow-up: Add missing end of array marker to scrollbar width keyword table
This prevents the parser from accepting values outside the keyword table.
See GRE 3050 or UXP 1853
Diffstat (limited to 'layout')
-rw-r--r-- | layout/style/nsCSSProps.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layout/style/nsCSSProps.cpp b/layout/style/nsCSSProps.cpp index da50e3cb4..4aff3dc5b 100644 --- a/layout/style/nsCSSProps.cpp +++ b/layout/style/nsCSSProps.cpp @@ -2009,7 +2009,8 @@ const KTableEntry nsCSSProps::kScrollSnapTypeKTable[] = { const KTableEntry nsCSSProps::kScrollbarWidthKTable[] = { { eCSSKeyword_auto, StyleScrollbarWidth::Auto }, { eCSSKeyword_thin, StyleScrollbarWidth::Thin }, - { eCSSKeyword_none, StyleScrollbarWidth::None } + { eCSSKeyword_none, StyleScrollbarWidth::None }, + { eCSSKeyword_UNKNOWN, -1 } }; const KTableEntry nsCSSProps::kStackSizingKTable[] = { |