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

Issue 2679343002: Fragment that establishes new BFC knows it's BFC offset in parent space (Closed)

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

Description

Fragment that establishes new BFC knows it's BFC offset in parent space List of changes: - If a fragment establishes new BFC then we can collapse its margin and assume that it's BFC offset is known. We can't use fragment->BfcOffset() in this case because each BFC has it's own BFC coordinates. - Revert lines that changed the usage of BFC offset to 'unified' offset - s/CalculateRelativeOffset/CalculateLogicalOffset/g - other minor clean up BUG=635619 TESTS=NGBlockLayoutAlgorithmTest::CollapsingMarginsCase5 Review-Url: https://codereview.chromium.org/2679343002 Cr-Commit-Position: refs/heads/master@{#449223} Committed: https://chromium.googlesource.com/chromium/src/+/bbea7637c1d6adafff338cd00b0de80d7a97cf69

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -33 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 5 chunks +24 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc View 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
Gleb Lanbin
3 years, 10 months ago (2017-02-07 22:04:03 UTC) #3
Gleb Lanbin
3 years, 10 months ago (2017-02-08 17:16:30 UTC) #15
cbiesinger
I'll let Ian review this, he knows this code better
3 years, 10 months ago (2017-02-08 23:00:40 UTC) #16
ikilpatrick
lgtm sorry for slow review.
3 years, 10 months ago (2017-02-09 01:57:25 UTC) #17
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/2679343002/40001
3 years, 10 months ago (2017-02-09 02:48:23 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 06:19:13 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bbea7637c1d6adafff338cd00b0d...

Powered by Google App Engine
This is Rietveld 408576698