summaryrefslogtreecommitdiff
path: root/src/parse/properties
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2021-02-15 10:20:22 +0000
committerVincent Sanders <vince@kyllikki.org>2021-02-15 10:20:22 +0000
commit0504194e51a35a88ceba06288a6a2d8243b27516 (patch)
tree34ae0bd0744febfa7154d054ba4d6bcb8cd2ece9 /src/parse/properties
parentdbccd7cceb79d0fabebe5e183d85f750c058cd7e (diff)
downloadlibcss-0504194e51a35a88ceba06288a6a2d8243b27516.tar.gz
libcss-0504194e51a35a88ceba06288a6a2d8243b27516.tar.bz2
add css 3.1 complex predefined counter styles for addative systems
Diffstat (limited to 'src/parse/properties')
-rw-r--r--src/parse/properties/utils.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c
index c82c88f..707a22b 100644
--- a/src/parse/properties/utils.c
+++ b/src/parse/properties/utils.c
@@ -34,7 +34,7 @@ css_error css__parse_list_style_type_value(css_language *c, const css_token *ide
* upper-latin, armenian, georgian, lower-alpha, upper-alpha,
* none)
*/
- #define MAP_ENTRIES 47
+ #define MAP_ENTRIES 52
bool match;
int midx;
const struct {
@@ -87,7 +87,12 @@ css_error css__parse_list_style_type_value(css_language *c, const css_token *ide
{ HIAGANA, LIST_STYLE_TYPE_HIAGANA },
{ HIAGANA_IROHA, LIST_STYLE_TYPE_HIAGANA_IROHA },
{ KATAKANA, LIST_STYLE_TYPE_KATAKANA },
- { KATAKANA_IROHA, LIST_STYLE_TYPE_KATAKANA_IROHA }
+ { KATAKANA_IROHA, LIST_STYLE_TYPE_KATAKANA_IROHA },
+ { JAPANESE_INFORMAL, LIST_STYLE_TYPE_JAPANESE_INFORMAL },
+ { JAPANESE_FORMAL, LIST_STYLE_TYPE_JAPANESE_FORMAL },
+ { KOREAN_HANGUL_FORMAL, LIST_STYLE_TYPE_KOREAN_HANGUL_FORMAL },
+ { KOREAN_HANJA_INFORMAL, LIST_STYLE_TYPE_KOREAN_HANJA_INFORMAL },
+ { KOREAN_HANJA_FORMAL, LIST_STYLE_TYPE_KOREAN_HANJA_FORMAL }
};
for (midx = 0; midx < MAP_ENTRIES; midx++) {