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

Issue 2417853002: [css-grid] Implementing the grid's first line baseline. (Closed)

Created:
4 years, 2 months ago by jfernandez
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, svillar, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, jchaffraix+rendering, blink-reviews, eae+blinkwatch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Implementing the grid's first line baseline. Implementation of the 'first-line' baseline for Grid containers, according to the CSS Grid Layout spec. https://drafts.csswg.org/css-grid/#grid-baselines The self-baseline and content-baseline alignment logic is still not implemented, hence some cases will be implemented in future patches. BUG=234191 Committed: https://crrev.com/84aad1bd751661177410014915ea453b7bad2346 Cr-Commit-Position: refs/heads/master@{#429479}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Patch for landing. #

Total comments: 25

Patch Set 3 : Addressing grid-order and content-box vs border-box issues. #

Patch Set 4 : Patch for landing. #

Patch Set 5 : Clearer and optimized algorithm. #

Patch Set 6 : Patch rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+648 lines, -70 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline.html View 1 2 3 1 chunk +212 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html View 1 2 4 chunks +19 lines, -38 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-margins.html View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-margins-expected.html View 1 2 3 3 chunks +19 lines, -30 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-must-respect-grid-order.html View 1 2 3 4 5 1 chunk +193 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-respect-dom-order.html View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-respect-dom-order-expected.html View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (16 generated)
jfernandez
4 years, 2 months ago (2016-10-17 08:20:02 UTC) #5
cbiesinger
lgtm https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2888 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2888: LayoutUnit LayoutGrid::firstLineBoxBaselineForChild( Are you calling this function anywhere...? ...
4 years, 2 months ago (2016-10-19 20:57:59 UTC) #6
jfernandez
Thanks for the review. See my comments below. https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2888 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2888: LayoutUnit ...
4 years, 2 months ago (2016-10-20 09:07:14 UTC) #7
cbiesinger
(still lgtm) https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2891 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2891: // We take content-box's bottom if no ...
4 years, 2 months ago (2016-10-20 17:42:36 UTC) #8
jfernandez
https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2417853002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2891 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2891: // We take content-box's bottom if no valid baseline. ...
4 years, 2 months ago (2016-10-20 22:13:23 UTC) #9
svillar
Looking good but there are some issues that should be corrected first. https://codereview.chromium.org/2417853002/diff/20001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp ...
4 years, 2 months ago (2016-10-21 12:53:06 UTC) #10
Manuel Rego
https://codereview.chromium.org/2417853002/diff/20001/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html (right): https://codereview.chromium.org/2417853002/diff/20001/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html#newcode99 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html:99: <!-- TODO: Grid spec does not allow block-axis baseline ...
4 years, 1 month ago (2016-10-25 19:42:09 UTC) #11
jfernandez
Please @cbiesinger, take another look as I change the patch quite much. https://codereview.chromium.org/2417853002/diff/20001/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-baseline-expected.html ...
4 years, 1 month ago (2016-10-26 14:22:31 UTC) #12
cbiesinger
lgtm
4 years, 1 month ago (2016-10-26 19:30:30 UTC) #13
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/2417853002/80001
4 years, 1 month ago (2016-11-02 18:02:48 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/98310) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 1 month ago (2016-11-02 18:07:14 UTC) #18
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/2417853002/120001
4 years, 1 month ago (2016-11-02 22:25:09 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/29078) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-11-02 22:29:33 UTC) #24
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/2417853002/140001
4 years, 1 month ago (2016-11-02 23:19:11 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 1 month ago (2016-11-03 00:37:49 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 00:40:24 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/84aad1bd751661177410014915ea453b7bad2346
Cr-Commit-Position: refs/heads/master@{#429479}

Powered by Google App Engine
This is Rietveld 408576698