| Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| index cac30b86b0e0fdbc292324a7700fc47461e668d6..c3522a407610fc9040481fb4e1f0aefa1ea86e27 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| @@ -445,6 +445,24 @@ TEST_F(CachingWordShaperTest, SegmentCJKCommonAndNonCJK)
|
| ASSERT_FALSE(iterator.next(&wordResult));
|
| }
|
|
|
| +TEST_F(CachingWordShaperTest, SegmentCJKSmallFormVariants)
|
| +{
|
| + const UChar str[] = {
|
| + 0x5916, // CJK UNIFIED IDEOGRPAH
|
| + 0xFE50, // SMALL COMMA
|
| + 0x0
|
| + };
|
| + TextRun textRun(str, 2);
|
| +
|
| + RefPtr<ShapeResult> wordResult;
|
| + CachingWordShapeIterator iterator(cache.get(), textRun, &font);
|
| +
|
| + ASSERT_TRUE(iterator.next(&wordResult));
|
| + EXPECT_EQ(2u, wordResult->numCharacters());
|
| +
|
| + ASSERT_FALSE(iterator.next(&wordResult));
|
| +}
|
| +
|
| TEST_F(CachingWordShaperTest, TextOrientationFallbackShouldNotInFallbackList)
|
| {
|
| const UChar str[] = {
|
|
|