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

Issue 59753002: text-align-last only affect to the last line when text-align is justify. (Closed)

Created:
7 years, 1 month ago by dw.im
Modified:
6 years, 4 months ago
CC:
bemjb+rendering_chromium.org, blink-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

text-align-last only affect to the last line when text-align is justify. CSS3 Text spec about text-align-last has been modified as the property only can affect to the last line when test-align is justify. http://www.w3.org/TR/css-text-3/#text-align-last-property BUG=248839 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179082

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebased #

Patch Set 5 : rebased, and fix test cases regarding comments #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : 2 ref test cases #

Total comments: 1

Patch Set 8 : Combining the two ref tests as one ref test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -499 lines) Patch
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last.css View 1 chunk +0 lines, -65 lines 0 comments Download
A LayoutTests/fast/css3-text/css3-text-align-last/text-align-last.html View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-auto.html View 1 1 chunk +0 lines, -27 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-auto-expected.html View 1 1 chunk +0 lines, -45 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center-expected.html View 1 chunk +0 lines, -45 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-end.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-end-expected.html View 1 chunk +0 lines, -45 lines 0 comments Download
A LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-expected.html View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-left.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-left-expected.html View 1 chunk +0 lines, -45 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-right.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-right-expected.html View 1 chunk +0 lines, -45 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-start.html View 1 chunk +0 lines, -27 lines 0 comments Download
D LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-start-expected.html View 1 chunk +0 lines, -45 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
dw.im
7 years, 1 month ago (2013-11-05 12:25:55 UTC) #1
Zoltan
https://codereview.chromium.org/59753002/diff/40001/LayoutTests/fast/css3-tex... File LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html (right): https://codereview.chromium.org/59753002/diff/40001/LayoutTests/fast/css3-tex... LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html:4: <link href="resources/text-align-last.css" rel="stylesheet" type="text/css"> I think it's easier to ...
6 years, 10 months ago (2014-01-29 19:46:13 UTC) #2
dw.im
On 2014/01/29 19:46:13, Zoltan wrote: > https://codereview.chromium.org/59753002/diff/40001/LayoutTests/fast/css3-tex... > File > LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html > (right): > > ...
6 years, 6 months ago (2014-06-16 10:10:26 UTC) #3
dw.im
PTAL
6 years, 6 months ago (2014-06-16 10:31:02 UTC) #4
leviw_travelin_and_unemployed
https://codereview.chromium.org/59753002/diff/190001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html File LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html (right): https://codereview.chromium.org/59753002/diff/190001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html#newcode20 LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html:20: <div dir='ltr' class='testDiv' style='text-align:center; text-align-last:left'>LTR align : center align-last ...
6 years, 6 months ago (2014-06-17 22:14:31 UTC) #5
dw.im
https://codereview.chromium.org/59753002/diff/190001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html File LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html (right): https://codereview.chromium.org/59753002/diff/190001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html#newcode20 LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html:20: <div dir='ltr' class='testDiv' style='text-align:center; text-align-last:left'>LTR align : center align-last ...
6 years, 6 months ago (2014-06-23 02:10:11 UTC) #6
dw.im
On 2014/06/23 02:10:11, dw.im wrote: > https://codereview.chromium.org/59753002/diff/190001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html > File > LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html > (right): > > ...
6 years, 6 months ago (2014-06-23 10:13:31 UTC) #7
dw.im
Layouttest failure on win_blink_dbg seems not related to this patch, IMO.
6 years, 6 months ago (2014-06-23 10:45:28 UTC) #8
leviw_travelin_and_unemployed
https://codereview.chromium.org/59753002/diff/210001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html File LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html (right): https://codereview.chromium.org/59753002/diff/210001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html#newcode19 LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html:19: <div class='testDiv' style='text-align:start; text-align-last:end'>start end</div> This test doesn't actually ...
6 years, 6 months ago (2014-06-23 15:26:11 UTC) #9
dw.im
On 2014/06/23 15:26:11, leviw wrote: > https://codereview.chromium.org/59753002/diff/210001/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html > File > LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html > (right): > > ...
6 years, 6 months ago (2014-06-24 03:54:32 UTC) #10
dw.im
Done. PTAL.
6 years, 6 months ago (2014-06-24 08:30:49 UTC) #11
Zoltan
Personally, I'd use multiple lines in the test, but it doesn't really make a difference. ...
6 years, 5 months ago (2014-07-24 20:57:15 UTC) #12
leviw_travelin_and_unemployed
lgtm2
6 years, 4 months ago (2014-07-28 23:13:42 UTC) #13
dw.im
The CQ bit was checked by dw.im@samsung.com
6 years, 4 months ago (2014-07-28 23:44:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dw.im@samsung.com/59753002/230001
6 years, 4 months ago (2014-07-28 23:46:16 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 02:00:46 UTC) #16
Message was sent while issue was closed.
Change committed as 179082

Powered by Google App Engine
This is Rietveld 408576698