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

Issue 2694463002: [css-flexbox] Correctly size flex rows with scrollbars (Closed)

Created:
3 years, 10 months ago by cbiesinger
Modified:
3 years, 10 months ago
Reviewers:
eae, cbiesinger1
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-flexbox] Correctly size flex rows with scrollbars Flex items with overflow: scroll were not handled correctly when they *don't* need to be stretched. We would double-count the scrollbar height. This also merges constrainedChildIntrinsicContentLogicalHeight into its only caller, which I think makes the code a bit clearer. Found thanks to a new W3C test. It also fixes a TODO. R=eae@chromium.org BUG=690596 TEST=external/csswg-test/css-flexbox-1/layout-algorithm_algo-cross-line-001.html Review-Url: https://codereview.chromium.org/2694463002 Cr-Commit-Position: refs/heads/master@{#449902} Committed: https://chromium.googlesource.com/chromium/src/+/2fbfd7490c876078719caf9867575b9a0826b2ba

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -16 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp View 2 chunks +8 lines, -15 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
cbiesinger
3 years, 10 months ago (2017-02-10 21:00:28 UTC) #1
eae
LGTM
3 years, 10 months ago (2017-02-12 22:04:25 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/2694463002/1
3 years, 10 months ago (2017-02-12 22:25:28 UTC) #9
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/2694463002/1
3 years, 10 months ago (2017-02-12 23:38:43 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 00:06:06 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2fbfd7490c876078719caf986757...

Powered by Google App Engine
This is Rietveld 408576698