Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: Source/core/layout/LayoutListMarker.cpp

Issue 1194053002: Use the same range for upper/lower-armenian as armenian (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/lists/w3-css3-list-styles-fallback-style-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListMarker.cpp
diff --git a/Source/core/layout/LayoutListMarker.cpp b/Source/core/layout/LayoutListMarker.cpp
index 81abb8c1ea8cbfc348a86e39c73d123292b4d7f8..7e3d4d72e5bd8cdc4bae090b4549341dc76887f1 100644
--- a/Source/core/layout/LayoutListMarker.cpp
+++ b/Source/core/layout/LayoutListMarker.cpp
@@ -463,6 +463,8 @@ static EListStyleType effectiveListMarkerType(EListStyleType type, int value)
case CJKIdeographic:
return type; // Can represent all ordinals.
case Armenian:
+ case LowerArmenian:
+ case UpperArmenian:
return (value < 1 || value > 99999999) ? DecimalListStyle : type;
case Georgian:
return (value < 1 || value > 19999) ? DecimalListStyle : type;
@@ -484,11 +486,9 @@ static EListStyleType effectiveListMarkerType(EListStyleType type, int value)
case Katakana:
case KatakanaIroha:
case LowerAlpha:
- case LowerArmenian:
case LowerGreek:
case LowerLatin:
case UpperAlpha:
- case UpperArmenian:
case UpperLatin:
return (value < 1) ? DecimalListStyle : type;
}
« no previous file with comments | « LayoutTests/fast/lists/w3-css3-list-styles-fallback-style-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698