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

Unified Diff: third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp

Issue 2603343002: Emoji fixes: Two professions and digits with VS16 (Closed)
Patch Set: Created 3 years, 12 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
Index: third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
index 81fac3256de045c64bd11349ebbbbe89d6a17539..e61feee2546a836d79a12efd03e60a6a6d621b70 100644
--- a/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
@@ -108,6 +108,12 @@ TEST_F(SymbolsIteratorTest, NumbersAndHashNormalAndEmoji) {
{"0123456789#*", FontFallbackPriority::Text}});
}
+TEST_F(SymbolsIteratorTest, VS16onDigits) {
+ CHECK_RUNS({{"#", FontFallbackPriority::Text},
+ {"#\uFE0F#\uFE0F\u20E3", FontFallbackPriority::EmojiEmoji},
+ {"#", FontFallbackPriority::Text}});
+}
+
TEST_F(SymbolsIteratorTest, SingleFlag) {
CHECK_RUNS({{"🇺", FontFallbackPriority::Text}});
}
@@ -201,4 +207,9 @@ TEST_F(SymbolsIteratorTest, Arrows) {
CHECK_RUNS({{"x→←x←↑↓→", FontFallbackPriority::Text}});
}
+TEST_F(SymbolsIteratorTest, JudgePilot) {
+ CHECK_RUNS({{"👨‍⚖️👩‍⚖️👨🏼‍⚖️👩🏼‍⚖️",
+ FontFallbackPriority::EmojiEmoji}});
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698