Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r222576 - "Tag" codepoints require the complex text codepath
https://bugs.webkit.org/show_bug.cgi?id=177251 <rdar://problem/34384001> Reviewed by David Hyatt. Source/WebCore: Previously, Tag codepoints (U+E0000 - U+E007F) weren't triggering the complex text codepath. Eventually, we should migrate the default from simple to complex. I'll do that in a separate patch. Test: fast/text/flag-codepoint.html * platform/graphics/FontCascade.cpp: (WebCore::FontCascade::characterRangeCodePath): LayoutTests: * fast/text/flag-codepoint-expected.html: Added. * fast/text/flag-codepoint.html: Added.
- Loading branch information
1 parent
0ea9d6e
commit da0c1a8
Showing
5 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
This test makes sure that combining grapheme clusters with Tag codepoints (U+E0000 - U+E007F) join correctly. The test passes if you don't see anything below. | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
This test makes sure that combining grapheme clusters with Tag codepoints (U+E0000 - U+E007F) join correctly. The test passes if you don't see anything below. | ||
<div style="position: relative; font-size: 100px;"> | ||
<div style="display: -webkit-box;"> | ||
<div style="word-break: break-word;"> | ||
🏴 | ||
</div> | ||
</div> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 750px; height: 120px; background: white;"></div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters