Bug 1137889 part 1 - Update predefined counter style name table to match the spec. r=jfkthame

This commit is contained in:
Xidorn Quan 2015-03-03 08:32:58 +11:00
parent 68d2da98bc
commit c30bde1799

View File

@ -73,15 +73,30 @@ static const char* const kCSSRawCounterDescs[] = {
};
static const char* const kCSSRawPredefinedCounterStyles[] = {
"none", "decimal", "decimal-leading-zero", "cjk-decimal",
"lower-roman", "upper-roman", "armenian", "georgian", "hebrew",
"none",
// 6 Simple Predefined Counter Styles
// 6.1 Numeric
"decimal", "decimal-leading-zero", "arabic-indic", "armenian",
"upper-armenian", "lower-armenian", "bengali", "cambodian", "khmer",
"cjk-decimal", "devanagari", "georgian", "gujarati", "gurmukhi", "hebrew",
"kannada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian",
"lower-roman", "upper-roman", "tamil", "telugu", "thai", "tibetan",
// 6.2 Alphabetic
"lower-alpha", "lower-latin", "upper-alpha", "upper-latin",
"lower-greek", "hiragana", "hiragana-iroha", "katakana", "katakana-iroha",
"cjk-earthly-branch", "cjk-heavenly-stem", "lower-greek",
"hiragana", "hiragana-iroha", "katakana", "katakana-iroha",
// 6.3 Symbolic
"disc", "circle", "square", "disclosure-open", "disclosure-closed",
// 7 Complex Predefined Counter Styles
// 7.1 Longhand East Asian Counter Styles
// 7.1.1 Japanese
"japanese-informal", "japanese-formal",
// 7.1.2 Korean
"korean-hangul-formal", "korean-hanja-informal", "korean-hanja-formal",
// 7.1.3 Chinese
"simp-chinese-informal", "simp-chinese-formal",
"trad-chinese-informal", "trad-chinese-formal", "cjk-ideographic",
// 7.2 Ethiopic Numeric Counter Style
"ethiopic-numeric"
};