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

Issue 2982643002: [LayoutNG] Fix IsEmptyBlock check within block_layout_algorithm. (Closed)

Created:
3 years, 5 months ago by ikilpatrick
Modified:
3 years, 5 months ago
Reviewers:
cbiesinger, eae
CC:
chromium-reviews, cbiesinger, 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, lchoi+reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Fix IsEmptyBlock check within block_layout_algorithm. Previoiusly we were just checking fragment.BlockSize() which was error prone as: <div style="height: 0px;">text</div> ... would have been considered an empty block. Now the check uses the presence of the BfcOffset on the child's layout result. If it isn't present, the child must be empty. BUG=635619 Review-Url: https://codereview.chromium.org/2982643002 Cr-Commit-Position: refs/heads/master@{#486440} Committed: https://chromium.googlesource.com/chromium/src/+/d82e3fae8315a1eee30b27522ccdb284bdd8ad3c

Patch Set 1 #

Patch Set 2 : slight change. #

Patch Set 3 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -29 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 7 chunks +36 lines, -29 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
ikilpatrick
3 years, 5 months ago (2017-07-12 23:07:12 UTC) #2
eae
LGTM
3 years, 5 months ago (2017-07-13 18:02:11 UTC) #7
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/2982643002/40001
3 years, 5 months ago (2017-07-13 18:04:50 UTC) #9
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 18:10:25 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d82e3fae8315a1eee30b27522ccd...

Powered by Google App Engine
This is Rietveld 408576698