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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp

Issue 2321043002: Disable Math and Symbols segmentation, fix dotted circle sequence (Closed)
Patch Set: Fix comment wording Created 4 years, 3 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 | « third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
index 717f66b5d633f1a5b65debb17995e66b63edf4e5..84184b16a3fea268a49952d5eb03dc332cbbe55a 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
@@ -127,6 +127,11 @@ TEST_F(RunSegmenterTest, JapaneseHindiEmojiMix)
{ "🌱🌲", USCRIPT_HAN, OrientationIterator::OrientationKeep, FontFallbackPriority::EmojiEmoji } });
}
+TEST_F(RunSegmenterTest, CombiningCirlce)
+{
+ CHECK_RUNS_HORIZONTAL({ { "◌́◌̀◌̈◌̂◌̄◌̊", USCRIPT_COMMON, OrientationIterator::OrientationKeep, FontFallbackPriority::Text } });
+}
+
TEST_F(RunSegmenterTest, HangulSpace)
{
CHECK_RUNS_MIXED({ { "키스의", USCRIPT_HANGUL, OrientationIterator::OrientationKeep, FontFallbackPriority::Text },
@@ -136,7 +141,7 @@ TEST_F(RunSegmenterTest, HangulSpace)
TEST_F(RunSegmenterTest, TechnicalCommonUpright)
{
- CHECK_RUNS_MIXED({ { "⌀⌁⌂", USCRIPT_COMMON, OrientationIterator::OrientationKeep, FontFallbackPriority::Math } });
+ CHECK_RUNS_MIXED({ { "⌀⌁⌂", USCRIPT_COMMON, OrientationIterator::OrientationKeep, FontFallbackPriority::Text } });
}
TEST_F(RunSegmenterTest, PunctuationCommonSideways)
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698