From 78ce0ccb1b4d96c105a5e638cbe7520e9963bd7b Mon Sep 17 00:00:00 2001 From: wuwenlu Date: Mon, 8 May 2023 02:15:08 -0700 Subject: [PATCH] Add validator for textDecorationStyle. Signed-off-by: wuwenlu --- deps/weex-styler/lib/validator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deps/weex-styler/lib/validator.js b/deps/weex-styler/lib/validator.js index 30ea65f..be9dd3d 100644 --- a/deps/weex-styler/lib/validator.js +++ b/deps/weex-styler/lib/validator.js @@ -2392,6 +2392,7 @@ var RICH_PROP_NAME_GROUPS = { fontWeight: genEnumValidator(['normal', 'lighter', 'bold', 'bolder', "medium", "regular", '100', '200', '300', '400', '500', '600', '700', '800', '900']), textDecoration: genEnumValidator(['none', 'underline', 'line-through']), + textDecorationStyle: genEnumValidator(['solid', 'double', 'dotted', 'dashed', 'wavy']), textAlign: genEnumValidator(['start', 'end', 'left', 'center', 'right']), textOverflow: genEnumValidator(['clip', 'ellipsis']), textIndent: TEXT_INDENT_VALIDATOR, @@ -2986,6 +2987,7 @@ var CARD_PROP_NAME_GROUPS = { fontWeight: genEnumValidator(['normal', 'lighter', 'bold', 'bolder', "medium", "regular", '100', '200', '300', '400', '500', '600', '700', '800', '900']), textDecoration: genEnumValidator(['none', 'underline', 'line-through']), + textDecorationStyle: genEnumValidator(['solid', 'double', 'dotted', 'dashed', 'wavy']), textAlign: genEnumValidator(['start', 'end', 'left', 'center', 'right']), textOverflow: genEnumValidator(['clip', 'ellipsis']), textIndent: TEXT_INDENT_VALIDATOR, -- Gitee