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

Issue 1807653002: [css-flexbox] Correctly handle percentage sizing in the main axis (Closed)

Created:
4 years, 9 months ago by cbiesinger
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, cbiesinger, 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 handle percentage sizing in the main axis Flex items should have a definite size subject to certain conditions: https://drafts.csswg.org/css-flexbox/#definite-sizes This patch implements part 2 of that section. This also fixes a bug in definite-cross-sizes; I put the flex-one class on the wrong div. flex-flow-padding has percentage children of flexboxes and thus needed updating. BUG=346275 NOPRESUBMIT=true Committed: https://crrev.com/ab4d700467b65a395a64c02d1a7d2777950ec0cd Cr-Commit-Position: refs/heads/master@{#381385}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove unnecessary brackets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -18 lines) Patch
M third_party/WebKit/LayoutTests/css3/flexbox/definite-cross-sizes.html View 1 chunk +4 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/flexbox/definite-main-size.html View 1 chunk +72 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-padding.html View 6 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp View 1 2 chunks +25 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
cbiesinger
4 years, 9 months ago (2016-03-15 20:30:45 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/1807653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807653002/1
4 years, 9 months ago (2016-03-15 20:31:41 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 22:14:55 UTC) #6
leviw_travelin_and_unemployed
Woot! LGTM. https://codereview.chromium.org/1807653002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp File third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp (right): https://codereview.chromium.org/1807653002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp#newcode1108 third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp:1108: if (mainSize == LayoutUnit(-1)) { Nit: unnecessary ...
4 years, 9 months ago (2016-03-16 00:57:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807653002/20001
4 years, 9 months ago (2016-03-16 01:28:28 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157425)
4 years, 9 months ago (2016-03-16 01:37:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807653002/20001
4 years, 9 months ago (2016-03-16 01:40:07 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157436)
4 years, 9 months ago (2016-03-16 01:48:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807653002/20001
4 years, 9 months ago (2016-03-16 02:02:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157442)
4 years, 9 months ago (2016-03-16 02:11:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807653002/20001
4 years, 9 months ago (2016-03-16 02:18:30 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-16 02:37:24 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 02:38:53 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ab4d700467b65a395a64c02d1a7d2777950ec0cd
Cr-Commit-Position: refs/heads/master@{#381385}

Powered by Google App Engine
This is Rietveld 408576698