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

Issue 1470373003: [css-flexbox] Correctly implement flex factors < 1 (Closed)

Created:
5 years ago by cbiesinger
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-flexbox] Correctly implement flex factors < 1 When the sum of flex factors is < 1, we need to multiply the available space by that. We currently do this in a slightly different way that's mostly-correct for flex-grow, but doesn't do anything for flex-shrink. This patch fixes that. BUG=480752, 549993 R=leviw@chromium.org Committed: https://crrev.com/36921b28f83a30d8d0caaa408b1586afed2ca323 Cr-Commit-Position: refs/heads/master@{#361808}

Patch Set 1 #

Patch Set 2 : even more correct now #

Total comments: 2

Patch Set 3 : add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -96 lines) Patch
A third_party/WebKit/LayoutTests/css3/flexbox/flex-factor-less-than-one.html View 1 1 chunk +158 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/css3/flexbox/flex-grow-less-than-one.html View 1 chunk +0 lines, -77 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp View 1 2 7 chunks +28 lines, -16 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
cbiesinger
5 years ago (2015-11-25 03:11:33 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470373003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470373003/1
5 years ago (2015-11-25 03:13:46 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-25 04:51:31 UTC) #5
cbiesinger
Actually, this isn't quite correct, let me work on this a little more...
5 years ago (2015-11-25 17:01:03 UTC) #6
cbiesinger
On 2015/11/25 17:01:03, cbiesinger wrote: > Actually, this isn't quite correct, let me work on ...
5 years ago (2015-11-25 18:17:06 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470373003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470373003/20001
5 years ago (2015-11-25 18:18:40 UTC) #10
leviw_travelin_and_unemployed
https://codereview.chromium.org/1470373003/diff/20001/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h File third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h (right): https://codereview.chromium.org/1470373003/diff/20001/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h#newcode160 third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h:160: bool resolveFlexibleLengths(FlexSign, const OrderedFlexItemList&, LayoutUnit availableFreeSpace, LayoutUnit& remainingFreeSpace, double& ...
5 years ago (2015-11-25 19:00:22 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-25 19:45:24 UTC) #13
cbiesinger
https://codereview.chromium.org/1470373003/diff/20001/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h File third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h (right): https://codereview.chromium.org/1470373003/diff/20001/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h#newcode160 third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h:160: bool resolveFlexibleLengths(FlexSign, const OrderedFlexItemList&, LayoutUnit availableFreeSpace, LayoutUnit& remainingFreeSpace, double& ...
5 years ago (2015-11-25 23:19:10 UTC) #14
leviw_travelin_and_unemployed
lgtm Much better! :)
5 years ago (2015-11-26 00:18:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470373003/40001
5 years ago (2015-11-26 00:19:32 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-26 02:24:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470373003/40001
5 years ago (2015-11-26 02:27:37 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-26 03:54:25 UTC) #23
commit-bot: I haz the power
5 years ago (2015-11-26 03:55:32 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/36921b28f83a30d8d0caaa408b1586afed2ca323
Cr-Commit-Position: refs/heads/master@{#361808}

Powered by Google App Engine
This is Rietveld 408576698