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

Issue 2709013007: Allow flow thread portion logical bottom to be above its logical top. (Closed)

Created:
3 years, 10 months ago by mstensho (USE GERRIT)
Modified:
3 years, 9 months ago
Reviewers:
eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews, mstensho (USE GERRIT)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow flow thread portion logical bottom to be above its logical top. We used to try to prevent this, as an attempt to make sure that no fragmentainer group would have overlapping flow thread portion rectangles with other fragmentainer groups. But that was already easily achievable with e.g. an empty block between two column spanners anyway. There is a legitimate reason for the flow thread portion bottom to be above the top: negative margins. Introduce MultiColumnFragmentainerGroup::logicalHeightInFlowThreadAt(). Less duplicated code. Some extra care is now needed, to make sure that we don't end up with negative logical heights. BUG=688760, 683090, 683554 Review-Url: https://codereview.chromium.org/2709013007 Cr-Commit-Position: refs/heads/master@{#453201} Committed: https://chromium.googlesource.com/chromium/src/+/0b389da84405eef38ee9f9e54f51352a6c1508f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add clarifying comment in logicalHeightInFlowThread() #

Messages

Total messages: 14 (9 generated)
mstensho (USE GERRIT)
3 years, 10 months ago (2017-02-23 22:01:23 UTC) #6
eae
LGTM w/suggestions https://codereview.chromium.org/2709013007/diff/1/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h File third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h (right): https://codereview.chromium.org/2709013007/diff/1/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h#newcode151 third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h:151: LayoutUnit logicalHeightInFlowThread() const { Would you mind ...
3 years, 10 months ago (2017-02-23 22:20:20 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2709013007/diff/1/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h File third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h (right): https://codereview.chromium.org/2709013007/diff/1/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h#newcode151 third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h:151: LayoutUnit logicalHeightInFlowThread() const { On 2017/02/23 22:20:20, eae wrote: ...
3 years, 9 months ago (2017-02-27 11:57:05 UTC) #8
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/2709013007/20001
3 years, 9 months ago (2017-02-27 11:57:24 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 13:47:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0b389da84405eef38ee9f9e54f51...

Powered by Google App Engine
This is Rietveld 408576698