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

Issue 2521553002: [css-grid] Isolate internal grid size from the actual grid size (Closed)

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

Description

[css-grid] Isolate internal grid size from the actual grid size LayoutGrid has an internal representation of a grid used to place grid items, compute grid positions, run the track sizing algorithm etc. That data structure normally has exactly the same size as the actual grid specified using the grid-template-xxx properties (or any other shorthand). But in some cases, like for example when the grid is empty, the internal data structure does not really match the actual grid. In the particular case of empty grids no memory allocations are done to create a grid representation as it is not needed. This is the first required step of the process of isolating the data used by the grid track sizing algorithm from the actual internal state of the LayoutGrid object. BUG=627812 Committed: https://crrev.com/70a22ecc29b1197a37f860b88fd0dd56b2e9cd2d Cr-Commit-Position: refs/heads/master@{#433870}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Patch for landing. Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -16 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 6 chunks +27 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (9 generated)
svillar
4 years, 1 month ago (2016-11-21 10:42:31 UTC) #2
eae
OK, LGTM
4 years, 1 month ago (2016-11-21 16:57:12 UTC) #3
Manuel Rego
LGTM, just wondering why we don't replace all the calls to gridColumn|RowCount() by numTracks(). https://codereview.chromium.org/2521553002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp ...
4 years, 1 month ago (2016-11-22 09:57:24 UTC) #4
Manuel Rego
Typo on the description "it as it is".
4 years, 1 month ago (2016-11-22 09:58:27 UTC) #5
svillar
On 2016/11/22 09:57:24, Manuel Rego wrote: > LGTM, just wondering why we don't replace all ...
4 years, 1 month ago (2016-11-22 10:10:57 UTC) #7
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/2521553002/1
4 years, 1 month ago (2016-11-22 10:11:24 UTC) #9
Manuel Rego
On 2016/11/22 10:10:57, svillar wrote: > On 2016/11/22 09:57:24, Manuel Rego wrote: > > LGTM, ...
4 years, 1 month ago (2016-11-22 10:15:40 UTC) #10
jfernandez
On 2016/11/22 10:15:40, Manuel Rego wrote: > On 2016/11/22 10:10:57, svillar wrote: > > On ...
4 years, 1 month ago (2016-11-22 10:44:50 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/layout/LayoutGrid.cpp: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-22 11:45:39 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/2521553002/20001
4 years, 1 month ago (2016-11-22 14:07:10 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-22 15:47:33 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 15:49:45 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/70a22ecc29b1197a37f860b88fd0dd56b2e9cd2d
Cr-Commit-Position: refs/heads/master@{#433870}

Powered by Google App Engine
This is Rietveld 408576698