Issue #1853 - Follow-up: Add missing end of array marker to scrollbar width keyword table

This prevents the parser from accepting values outside the keyword table.
This commit is contained in:
FranklinDM 2022-05-03 10:55:20 +08:00 committed by roytam1
commit 317b7dec08

View file

@ -2011,7 +2011,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[] = {