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

Issue 1490093003: [css-grid] Fix items' height computation in indefinite grids with fr (Closed)

Created:
5 years ago by svillar
Modified:
5 years 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Fix items' height computation in indefinite grids with fr Since master@{#358816} we run a second round of the track sizing algorithm whenever the height of the grid is indefinite in order to properly compute row sizes. The available space passed to the track sizing algorithm must not contain neither borders nor paddings, otherwise it will think that it has more space available than the existing one. We should use the height of the content box instead. BUG=560771, 562985 Committed: https://crrev.com/a29568cbf37aa90d769d34df3350b69e257deea2 Cr-Commit-Position: refs/heads/master@{#362957}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Added data-expected-client-* checks and renamed the test #

Patch Set 3 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-with-border-in-fr.html View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
svillar
Sending for review
5 years ago (2015-12-03 08:35:19 UTC) #3
svillar
Added data-expected-client-* checks and renamed the test
5 years ago (2015-12-03 09:21:28 UTC) #4
Manuel Rego
Non-owner LGTM. Nice catch! Just a few comments on the test. https://codereview.chromium.org/1490093003/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html (right): ...
5 years ago (2015-12-03 09:24:43 UTC) #5
svillar
Thanks! https://codereview.chromium.org/1490093003/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html (right): https://codereview.chromium.org/1490093003/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html#newcode9 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html:9: width: 300px; On 2015/12/03 09:24:43, Manuel Rego wrote: ...
5 years ago (2015-12-03 09:35:12 UTC) #6
Manuel Rego
https://codereview.chromium.org/1490093003/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html (right): https://codereview.chromium.org/1490093003/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html#newcode9 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-inside-fr-with-borders.html:9: width: 300px; On 2015/12/03 09:35:12, svillar wrote: > On ...
5 years ago (2015-12-03 09:44:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490093003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490093003/40001
5 years ago (2015-12-03 09:54:25 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 11:50:25 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-03 11:51:15 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a29568cbf37aa90d769d34df3350b69e257deea2
Cr-Commit-Position: refs/heads/master@{#362957}

Powered by Google App Engine
This is Rietveld 408576698