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

Issue 1094863007: Implement "word-break: keep-all" in CSS3 Text (Closed)

Created:
5 years, 8 months ago by yunsik
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-rendering, blink-reviews-style_chromium.org, zoltan1, blink-reviews-css
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement "word-break: keep-all" in CSS3 Text This CL contains an implementation on "word-break: keep-all" which suppresses soft wrap opportunity between letters (mostly in CJK). http://dev.w3.org/csswg/css-text/#valdef-word-break-keep-all BUG=141792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194441

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix layout test failure on mac #

Total comments: 4

Patch Set 4 : Replace custom SA charset detecting function to already existing one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -9 lines) Patch
A LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all.html View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all-expected.html View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueMappings.h View 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserFastPaths.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutText.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/layout/line/BreakingContextInlineHeaders.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/style/ComputedStyleConstants.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/text/TextBreakIterator.h View 3 chunks +12 lines, -3 lines 0 comments Download
M Source/platform/text/TextBreakIterator.cpp View 1 2 3 2 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (20 generated)
yunsik
I implemented "word-break: keep-all" which is not yet supported. please review this change.
5 years, 8 months ago (2015-04-20 05:01:12 UTC) #3
eae
Implementation looks good but I'd like to see a test where keep-all acts differently than ...
5 years, 8 months ago (2015-04-21 11:12:13 UTC) #6
yunsik
On 2015/04/21 11:12:13, eae wrote: > Implementation looks good but I'd like to see a ...
5 years, 8 months ago (2015-04-21 13:26:32 UTC) #7
yunsik
I uploaded the patchset #2: - removed `nowrap' in text expectation of case #1 to ...
5 years, 8 months ago (2015-04-22 01:25:29 UTC) #8
kojii
Non-owner LGTM. Thank you for working on this. Checked CSS WG test suites but unfortunately ...
5 years, 8 months ago (2015-04-22 13:15:34 UTC) #9
eae
LGTM
5 years, 8 months ago (2015-04-22 13:16:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/40001
5 years, 8 months ago (2015-04-22 13:31:45 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/60001
5 years, 8 months ago (2015-04-22 23:34:34 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/60001
5 years, 8 months ago (2015-04-22 23:37:01 UTC) #19
yunsik
Hello reviewers, Today I found CQ got failed due to the layout test of keep-all ...
5 years, 8 months ago (2015-04-23 06:33:37 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/80001
5 years, 8 months ago (2015-04-23 06:46:47 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-23 09:40:17 UTC) #27
jungshik at Google
Thank you for the fix. https://codereview.chromium.org/1094863007/diff/80001/LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all.html File LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all.html (right): https://codereview.chromium.org/1094863007/diff/80001/LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all.html#newcode10 LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all.html:10: 这是一些汉字, and some Latin, ...
5 years, 8 months ago (2015-04-23 13:36:33 UTC) #29
jungshik at Google
On 2015/04/23 13:36:33, Jungshik at google wrote: > Thank you for the fix. > > ...
5 years, 8 months ago (2015-04-23 13:37:34 UTC) #30
jungshik at Google
https://codereview.chromium.org/1094863007/diff/80001/Source/platform/text/TextBreakIterator.cpp File Source/platform/text/TextBreakIterator.cpp (right): https://codereview.chromium.org/1094863007/diff/80001/Source/platform/text/TextBreakIterator.cpp#newcode228 Source/platform/text/TextBreakIterator.cpp:228: static inline bool isComplexContextDependent(UChar ch) Please, use either requiresContextForWordBoundary(UChar32 ...
5 years, 8 months ago (2015-04-23 20:34:15 UTC) #31
yunsik
@Jungshik, Thank you for your comments. I'll upload a new patch which contains: - replace ...
5 years, 8 months ago (2015-04-24 07:01:15 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/100001
5 years, 8 months ago (2015-04-24 09:07:12 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-24 10:30:36 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094863007/100001
5 years, 8 months ago (2015-04-25 16:41:00 UTC) #39
commit-bot: I haz the power
5 years, 8 months ago (2015-04-25 17:57:26 UTC) #40
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194441

Powered by Google App Engine
This is Rietveld 408576698