Changeset 30592 in webkit
- Timestamp:
- Feb 26, 2008 2:15:02 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r30590 r30592 1 2008-02-26 Satoshi Nakagawa <artension@gmail.com> 2 3 Reviewed by Darin. Tweaked and landed by Alexey. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=17411 6 7 * fast/text/line-breaks-after-ideographic-comma-or-full-stop.html: Added. 8 * fast/text/line-breaks-after-ideographic-comma-or-full-stop-expected.txt: Added 9 1 10 2008-02-25 Dan Bernstein <mitz@apple.com> 2 11 -
trunk/WebCore/ChangeLog
r30591 r30592 1 2008-02-26 Satoshi Nakagawa <artension@gmail.com> 2 3 Reviewed by Darin. Tweaked and landed by Alexey. 4 5 http://bugs.webkit.org/show_bug.cgi?id=17411 6 Ideographic comma and full stop should be treated as line-breakable characters 7 8 Test: fast/text/line-breaks-after-ideographic-comma-or-full-stop.html 9 10 * platform/text/CharacterNames.h: Added ideographicComma and ideographicFullStop. 11 * rendering/break_lines.cpp: (WebCore::shouldBreakAfter): Added a workaround for an issue in 12 Unicode 5.0 that is causing this. 13 1 14 2008-02-26 MorganL <morganl.webkit@yahoo.com> 2 15 -
trunk/WebCore/platform/text/CharacterNames.h
r29905 r30592 40 40 const UChar horizontalEllipsis = 0x2026; 41 41 const UChar ideographicSpace = 0x3000; 42 const UChar ideographicComma = 0x3001; 43 const UChar ideographicFullStop = 0x3002; 42 44 const UChar leftToRightMark = 0x200E; 43 45 const UChar leftToRightEmbed = 0x202A; -
trunk/WebCore/rendering/break_lines.cpp
r29915 r30592 48 48 { 49 49 // Match WinIE's breaking strategy, which is to always allow breaks after hyphens and question marks. 50 // FIXME: it appears that IE behavior is more complex, see <http://bugs.webkit.org/show_bug.cgi?id=17475>. 50 51 switch (ch) { 51 52 case '-': 52 53 case '?': 53 54 case softHyphen: 55 // FIXME: cases for ideographicComma and ideographicFullStop are a workaround for an issue in Unicode 5.0 56 // which is likely to be resolved in Unicode 5.1 <http://bugs.webkit.org/show_bug.cgi?id=17411>. 57 // We may want to remove or conditionalize this workaround at some point. 58 case ideographicComma: 59 case ideographicFullStop: 54 60 return true; 55 61 default:
Note: See TracChangeset
for help on using the changeset viewer.