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 914993003: [CSS Grid Layout] Determine definite/indefinite size properly in nested grids (Closed)

Created:
5 years, 10 months ago by Manuel Rego
Modified:
5 years, 9 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, jfernandez, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, Manuel Rego, svillar, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[CSS Grid Layout] Determine definite/indefinite size properly in nested grids If a grid item is a grid itself, you shouldn't check if its size is definite or indefinite against the containing block (the parent), but rather against the overridden containing block (the grid area). Modified hasDefiniteLogicalWidth/Height() in order to take into account the overrideContainingBlockContentLogicalWidth/Height() values. Otherwise we were considering as definite situations in which it was not possible to determine the size of the grid. BUG=457849 TEST=fast/css-grid-layout/percent-intrinsic-track-breadth.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190988

Patch Set 1 #

Total comments: 6

Patch Set 2 : New version #

Total comments: 5

Patch Set 3 : Patch for landing #

Patch Set 4 : Rebased patch #

Patch Set 5 : Rename isRenderView() calls to isLayoutView() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -21 lines) Patch
A LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth.html View 1 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutBox.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 2 3 4 3 chunks +21 lines, -20 lines 0 comments Download
M Source/core/layout/LayoutGrid.cpp View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
Manuel Rego
5 years, 10 months ago (2015-02-16 18:05:46 UTC) #2
Julien - ping for review
https://codereview.chromium.org/914993003/diff/1/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html File LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html (right): https://codereview.chromium.org/914993003/diff/1/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html#newcode28 LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html:28: <div class="grid percentage"> I assume we were also not ...
5 years, 10 months ago (2015-02-18 22:13:16 UTC) #3
Manuel Rego
Thanks for the review. New version uploaded. https://codereview.chromium.org/914993003/diff/1/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html File LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html (right): https://codereview.chromium.org/914993003/diff/1/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html#newcode28 LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html:28: <div class="grid ...
5 years, 10 months ago (2015-02-25 16:58:00 UTC) #5
Julien - ping for review
lgtm https://codereview.chromium.org/914993003/diff/40001/Source/core/layout/LayoutBox.h File Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/914993003/diff/40001/Source/core/layout/LayoutBox.h#newcode458 Source/core/layout/LayoutBox.h:458: static bool logicalWidthIsResolvableFromBlock(const LayoutBox* containingBlock); Let's make this ...
5 years, 10 months ago (2015-02-27 02:07:04 UTC) #6
Manuel Rego
Thanks for the review! https://codereview.chromium.org/914993003/diff/40001/Source/core/layout/LayoutBox.h File Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/914993003/diff/40001/Source/core/layout/LayoutBox.h#newcode458 Source/core/layout/LayoutBox.h:458: static bool logicalWidthIsResolvableFromBlock(const LayoutBox* containingBlock); ...
5 years, 9 months ago (2015-02-27 08:48:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914993003/60001
5 years, 9 months ago (2015-02-27 08:49:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_dbg/builds/29821)
5 years, 9 months ago (2015-02-27 08:54:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914993003/80001
5 years, 9 months ago (2015-02-27 08:58:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914993003/100001
5 years, 9 months ago (2015-02-27 09:05:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/49286)
5 years, 9 months ago (2015-02-27 10:21: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/914993003/100001
5 years, 9 months ago (2015-02-27 11:03:18 UTC) #22
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 11:46:51 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190988

Powered by Google App Engine
This is Rietveld 408576698