Changeset 204074 in webkit
- Timestamp:
- Aug 2, 2016 11:35:08 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r204063 r204074 1 2016-08-02 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Update breaking rules to match ICU 57 4 https://bugs.webkit.org/show_bug.cgi?id=160488 5 <rdar://problem/25856238> 6 7 Reviewed by Darin Adler. 8 9 * fast/text/flag-emoji-line-break-expected.html: Added. 10 * fast/text/flag-emoji-line-break.html: Added. 11 * platform/mac/TestExpectations: Mark the test as failing on Yosemite. 12 1 13 2016-08-02 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/LayoutTests/platform/mac/TestExpectations
r204002 r204074 1440 1440 webkit.org/b/159755 [ Sierra+ ] fast/text/emoji-gender-fe0f-9.html [ Pass ] 1441 1441 webkit.org/b/159755 [ Sierra+ ] fast/text/emoji-gender.html [ Pass ] 1442 1443 # ADDITIONAL_EMOJI_SUPPORT is not enabled on Yosemite 1444 webkit.org/b/160488 [ Yosemite ] fast/text/flag-emoji-line-break.html [ ImageOnlyFailure ] -
trunk/Source/WTF/ChangeLog
r204065 r204074 1 2016-08-02 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Update breaking rules to match ICU 57 4 https://bugs.webkit.org/show_bug.cgi?id=160488 5 <rdar://problem/25856238> 6 7 Reviewed by Darin Adler. 8 9 This patch fixes a typo in the uax14AssignmentsAfter rules which 10 was causing flag emoji to have line breaking opportunities in their 11 middles. It also fixes significant language issues for languages 12 such as Hebrew, and adds correct breaking opportunities around 13 hyphens. 14 15 * wtf/text/TextBreakIterator.cpp: 16 (WTF::cursorMovementIterator): 17 (WTF::uax14AssignmentsAfter): 18 (WTF::uax14Forward): 19 (WTF::uax14Reverse): 20 1 21 2016-08-02 Benjamin Poulain <benjamin@webkit.org> 2 22 -
trunk/Source/WTF/wtf/text/TextBreakIterator.cpp
r203533 r204074 165 165 TextBreakIterator* cursorMovementIterator(StringView string) 166 166 { 167 // FIXME: These rules need to be updated for additional gender-based emoji support.168 167 #if !PLATFORM(IOS) 169 // This rule set is based on character-break iterator rules of ICU 4.0170 // <http://source.icu-project.org/repos/icu/icu/tags/release- 4-0/source/data/brkitr/char.txt>.168 // This rule set is based on character-break iterator rules of ICU 57 169 // <http://source.icu-project.org/repos/icu/icu/tags/release-57-1/source/data/brkitr/>. 171 170 // The major differences from the original ones are listed below: 172 171 // * Replaced '[\p{Grapheme_Cluster_Break = SpacingMark}]' with '[\p{General_Category = Spacing Mark} - $Extend]' for ICU 3.8 or earlier; … … 481 480 "$PRcm = $PR $CM*;" 482 481 "$QUcm = $QU $CM*;" 483 "$RIcm = $ QU$CM*;"482 "$RIcm = $RI $CM*;" 484 483 "$SYcm = $SY $CM*;" 485 484 "$WJcm = $WJ $CM*;"; … … 523 522 "$PR $CM+;" 524 523 "$QU $CM+;" 524 "$RI $CM+;" 525 525 "$SY $CM+;" 526 526 "$WJ $CM+;" … … 573 573 "$BBcm $LB20NonBreaks $CM*;" 574 574 "$HLcm ($HYcm | $BAcm) [^$CB]?;" 575 "$SYcm $HLcm;" 575 576 "($ALcm | $HLcm) $INcm;" 576 577 "$CM+ $INcm;" 578 "$EXcm $INcm;" 577 579 "$IDcm $INcm;" 578 580 "$INcm $INcm;" … … 681 683 "[^$CB] $CM* $BB;" 682 684 "[^$CB] $CM* ($HY | $BA) $CM* $HL;" 685 "$CM* $HL $CM* $SY;" 683 686 "$CM* $IN $CM* ($ALPlus | $HL);" 687 "$CM* $IN $CM* $EX;" 684 688 "$CM* $IN $CM* $ID;" 685 689 "$CM* $IN $CM* $IN;"
Note: See TracChangeset
for help on using the changeset viewer.