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

Issue 255323004: Rendering text-justify:distribute for 8 bit characters. (Closed)

Created:
6 years, 7 months ago by dw.im
Modified:
6 years ago
CC:
bemjb+rendering_chromium.org, blink-reviews, Rik, chrishtr, danakj, krit, dsinclair, eae+blinkwatch, jamesr, jbroman, jchaffraix+rendering, leviw+renderwatch, pdr., rwlbuis, rune+blink, Stephen Chennney, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Rendering text-justify:distribute for 8 bit characters. text-justify:distribute provides the ability to justify a line as inter-character level. This patch takes care of only 8 bit characters. BUG=248894 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186099

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Previous patchset (without 'const') #

Patch Set 4 : New patchset (with 'const') #

Total comments: 7

Patch Set 5 : Using enum #

Total comments: 4

Patch Set 6 : Using 2 bits for enum #

Total comments: 4

Patch Set 7 : 1st patch of moving the enum to platform #

Patch Set 8 : 2nd patch of moving the enum to platform #

Patch Set 9 : 3rd (WIP) #

Total comments: 5

Patch Set 10 : #

Patch Set 11 : patch for landing #

Patch Set 12 : patch for landing 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -30 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-justify/resources/text-justify.css View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/fast/css3-text/css3-text-justify/text-justify-8bits.html View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
A LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.txt View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M Source/platform/fonts/Character.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M Source/platform/fonts/Character.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -17 lines 0 comments Download
M Source/platform/fonts/shaping/SimpleShaper.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -5 lines 0 comments Download
M Source/platform/text/TextRun.h View 1 2 3 4 5 6 7 8 9 7 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (6 generated)
dw.im
6 years, 7 months ago (2014-05-01 04:43:16 UTC) #1
leviw_travelin_and_unemployed
This is a re-try from the previous patch, no? It'd be nice if you uploaded ...
6 years, 7 months ago (2014-05-12 10:25:21 UTC) #2
leviw_travelin_and_unemployed
On 2014/05/12 10:25:21, leviw wrote: > This is a re-try from the previous patch, no? ...
6 years, 7 months ago (2014-05-12 10:26:14 UTC) #3
dw.im
On 2014/05/12 10:26:14, leviw wrote: > On 2014/05/12 10:25:21, leviw wrote: > > This is ...
6 years, 7 months ago (2014-05-21 01:46:18 UTC) #4
dw.im
On 2014/05/12 10:26:14, leviw wrote: > On 2014/05/12 10:25:21, leviw wrote: > > This is ...
6 years, 6 months ago (2014-06-03 10:16:45 UTC) #5
leviw_travelin_and_unemployed
On 2014/06/03 10:16:45, dw.im wrote: > On 2014/05/12 10:26:14, leviw wrote: > > On 2014/05/12 ...
6 years, 6 months ago (2014-06-03 16:08:36 UTC) #6
dw.im
On 2014/06/03 16:08:36, leviw wrote: > I'm not sure you understand what I'm asking for. ...
6 years, 6 months ago (2014-06-09 02:25:23 UTC) #7
dw.im
On 2014/06/09 02:25:23, dw.im wrote: > On 2014/06/03 16:08:36, leviw wrote: > > > I'm ...
6 years, 6 months ago (2014-06-09 07:52:11 UTC) #8
ebraminio
On 2014/06/09 07:52:11, dw.im wrote: > On 2014/06/09 02:25:23, dw.im wrote: > > On 2014/06/03 ...
6 years, 6 months ago (2014-06-26 12:25:04 UTC) #9
leviw_travelin_and_unemployed
Super close! https://codereview.chromium.org/255323004/diff/50001/LayoutTests/fast/css3-text/css3-text-justify/text-justify-8bits.html File LayoutTests/fast/css3-text/css3-text-justify/text-justify-8bits.html (right): https://codereview.chromium.org/255323004/diff/50001/LayoutTests/fast/css3-text/css3-text-justify/text-justify-8bits.html#newcode10 LayoutTests/fast/css3-text/css3-text-justify/text-justify-8bits.html:10: Every block has been setted as 'text-align: ...
6 years, 4 months ago (2014-07-28 23:59:58 UTC) #10
dw.im
https://codereview.chromium.org/255323004/diff/50001/Source/platform/fonts/Character.cpp File Source/platform/fonts/Character.cpp (right): https://codereview.chromium.org/255323004/diff/50001/Source/platform/fonts/Character.cpp#newcode278 Source/platform/fonts/Character.cpp:278: if (direction == LTR) { On 2014/07/28 23:59:58, leviw ...
6 years, 4 months ago (2014-07-29 01:54:54 UTC) #11
dw.im
Hi, Levi, I tried to use enum, rather than creating a new bool, as you ...
6 years, 4 months ago (2014-08-08 08:54:45 UTC) #12
leviw_travelin_and_unemployed
https://codereview.chromium.org/255323004/diff/70001/Source/platform/text/TextRun.cpp File Source/platform/text/TextRun.cpp (right): https://codereview.chromium.org/255323004/diff/70001/Source/platform/text/TextRun.cpp#newcode37 Source/platform/text/TextRun.cpp:37: uint32_t bitfields : 10; It looks like we're only ...
6 years, 4 months ago (2014-08-11 17:34:47 UTC) #13
dw.im
https://codereview.chromium.org/255323004/diff/70001/Source/platform/text/TextRun.cpp File Source/platform/text/TextRun.cpp (right): https://codereview.chromium.org/255323004/diff/70001/Source/platform/text/TextRun.cpp#newcode37 Source/platform/text/TextRun.cpp:37: uint32_t bitfields : 10; On 2014/08/11 17:34:46, leviw wrote: ...
6 years, 4 months ago (2014-08-12 02:47:09 UTC) #14
leviw_travelin_and_unemployed
https://codereview.chromium.org/255323004/diff/90001/Source/platform/fonts/Character.cpp File Source/platform/fonts/Character.cpp (right): https://codereview.chromium.org/255323004/diff/90001/Source/platform/fonts/Character.cpp#newcode283 Source/platform/fonts/Character.cpp:283: if (treatAsSpace(characters[length - 1])) int lastCharacter = (direction == ...
6 years, 4 months ago (2014-08-18 17:55:43 UTC) #15
dw.im
Thanks for the review! https://codereview.chromium.org/255323004/diff/90001/Source/platform/fonts/Character.cpp File Source/platform/fonts/Character.cpp (right): https://codereview.chromium.org/255323004/diff/90001/Source/platform/fonts/Character.cpp#newcode283 Source/platform/fonts/Character.cpp:283: if (treatAsSpace(characters[length - 1])) On ...
6 years, 4 months ago (2014-08-21 00:20:55 UTC) #16
dw.im
Hi, levi, PTAL!
6 years, 3 months ago (2014-09-13 15:47:42 UTC) #17
leviw_travelin_and_unemployed
Very close. https://codereview.chromium.org/255323004/diff/150001/Source/core/css/CSSPrimitiveValueMappings.h File Source/core/css/CSSPrimitiveValueMappings.h (right): https://codereview.chromium.org/255323004/diff/150001/Source/core/css/CSSPrimitiveValueMappings.h#newcode50 Source/core/css/CSSPrimitiveValueMappings.h:50: #include "platform/text/TextRun.h" This shouldn't be necessary. https://codereview.chromium.org/255323004/diff/150001/Source/platform/text/TextRun.h ...
6 years, 1 month ago (2014-11-05 23:23:39 UTC) #18
dw.im
Thanks Levi for the review! I will upload a new patch soon!
6 years, 1 month ago (2014-11-10 10:18:53 UTC) #19
dw.im
Dear Levi! PTAL! This patch doesn't include 'LayoutTests/TestExpectations' to rebaseline, because it always make conflict. ...
6 years, 1 month ago (2014-11-19 02:06:55 UTC) #20
leviw_travelin_and_unemployed
lgtm.
6 years ago (2014-11-26 19:04:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/255323004/190001
6 years ago (2014-11-27 04:30:37 UTC) #23
commit-bot: I haz the power
CQ experienced an internal error when committing your CL and the maintainers were notified. Sorry ...
6 years ago (2014-11-27 05:41:10 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/255323004/190001
6 years ago (2014-11-27 08:06:30 UTC) #28
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-27 08:06:42 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/255323004/210001
6 years ago (2014-11-27 08:22:02 UTC) #32
commit-bot: I haz the power
6 years ago (2014-11-27 09:38:28 UTC) #33
Message was sent while issue was closed.
Committed patchset #12 (id:210001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186099

Powered by Google App Engine
This is Rietveld 408576698