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

Issue 2852883003: [LayoutNG] Fix 'vertical-align' not to include metrics before alignment (Closed)

Created:
3 years, 7 months ago by kojii
Modified:
3 years, 7 months ago
Reviewers:
Gleb Lanbin, eae
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, cbiesinger, chromium-reviews, dgrogan+ng_chromium.org, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Fix 'vertical-align' not to include metrics before alignment This patch fixes not to include metrics before alignment when 'vertical-align' is one of values to be computed by ancestors; i.e., top, bottom, text-top, or text-bottom. Also undoes a temporary fix introduced in CL[1]. [1] https://codereview.chromium.org/2840883002#msg14 BUG=636993 Review-Url: https://codereview.chromium.org/2852883003 Cr-Commit-Position: refs/heads/master@{#468559} Committed: https://chromium.googlesource.com/chromium/src/+/c8a96c63d6eb03dbc39afc03fd22e7f19f36569a

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Undo a temporary fix added in https://codereview.chromium.org/2840883002#msg14 #

Total comments: 4

Patch Set 4 : glebl nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -20 lines) Patch
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.cc View 1 2 3 4 chunks +13 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm_test.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (19 generated)
kojii
PTAL.
3 years, 7 months ago (2017-05-01 19:29:13 UTC) #13
Gleb Lanbin
lgtm https://codereview.chromium.org/2852883003/diff/40001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.cc File third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.cc (right): https://codereview.chromium.org/2852883003/diff/40001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.cc#newcode108 third_party/WebKit/Source/core/layout/ng/inline/ng_inline_box_state.cc:108: if (!is_position_pending && box != stack_.begin()) { .nit ...
3 years, 7 months ago (2017-05-01 19:44:24 UTC) #14
Gleb Lanbin
lgtm
3 years, 7 months ago (2017-05-01 19:44:28 UTC) #15
eae
LGTM
3 years, 7 months ago (2017-05-01 20:10:18 UTC) #16
kojii
nits all done, thank you for your prompt reviews!
3 years, 7 months ago (2017-05-02 03:06:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2852883003/60001
3 years, 7 months ago (2017-05-02 03:07:19 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 04:41:45 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c8a96c63d6eb03dbc39afc03fd22...

Powered by Google App Engine
This is Rietveld 408576698