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

Issue 2453553002: Resolve ApplyAutoMargins's TODO in NGBlockLayoutAlgorithm. (Closed)

Created:
4 years, 1 month ago by Gleb Lanbin
Modified:
4 years, 1 month ago
CC:
chromium-reviews, ojan+watch_chromium.org, szager+layoutwatch_chromium.org, glebl+reviews_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resolve ApplyAutoMargins's TODO in NGBlockLayoutAlgorithm. Combine 2 methods related to child margins calculation into one. BUG=635619 Committed: https://crrev.com/96a02ed3c20fcc3508b08bddf613abd5e57a225d Cr-Commit-Position: refs/heads/master@{#427709}

Patch Set 1 #

Patch Set 2 : ApplyAutoMargins shoudld not be applied to floated elements #

Patch Set 3 : Revert everything back, remove ApplyAutoMargins's TODO and enforce const on child_margins variable … #

Patch Set 4 : change ApplyAutoMargins to pass margins by pointer + DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Gleb Lanbin
4 years, 1 month ago (2016-10-25 20:05:47 UTC) #2
cbiesinger
I don't think this is correct because margin:auto should not apply to floats, right? I'm ...
4 years, 1 month ago (2016-10-25 20:09:57 UTC) #3
Gleb Lanbin
On 2016/10/25 20:09:57, cbiesinger wrote: > I don't think this is correct because margin:auto should ...
4 years, 1 month ago (2016-10-25 21:11:59 UTC) #4
Gleb Lanbin
On 2016/10/25 21:11:59, glebl wrote: > On 2016/10/25 20:09:57, cbiesinger wrote: > > I don't ...
4 years, 1 month ago (2016-10-25 21:54:13 UTC) #5
cbiesinger1
Lgtm
4 years, 1 month ago (2016-10-26 00:09:23 UTC) #10
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/2453553002/60001
4 years, 1 month ago (2016-10-26 00:10:03 UTC) #12
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 1 month ago (2016-10-26 00:10:05 UTC) #14
ikilpatrick
lgtm
4 years, 1 month ago (2016-10-26 16:16:50 UTC) #15
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/2453553002/60001
4 years, 1 month ago (2016-10-26 16:17:22 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-26 16:24:10 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 17:12:27 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/96a02ed3c20fcc3508b08bddf613abd5e57a225d
Cr-Commit-Position: refs/heads/master@{#427709}

Powered by Google App Engine
This is Rietveld 408576698