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

Issue 2657863005: [css-grid] Clamp the number of auto-repeat tracks (Closed)

Created:
3 years, 11 months ago by svillar
Modified:
3 years, 10 months ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, 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] Clamp the number of auto-repeat tracks The computation of auto-repeat tracks might issue a result larger than the total number of tracks limit. We need to clamp the grid also in those cases. BUG=681381 Review-Url: https://codereview.chromium.org/2657863005 Cr-Commit-Position: refs/heads/master@{#446646} Committed: https://chromium.googlesource.com/chromium/src/+/946f89ab4dfffec7f9d13bac423ca5a0df949bb6

Patch Set 1 #

Patch Set 2 : Better test #

Patch Set 3 : Fixed JS syntax in test #

Total comments: 2

Patch Set 4 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-repeat-huge-grid.html View 1 2 1 chunk +149 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
svillar
3 years, 11 months ago (2017-01-26 16:09:11 UTC) #2
eae
LGTM https://codereview.chromium.org/2657863005/diff/40001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2657863005/diff/40001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2048 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2048: (kGridMaxTracks - trackSizes.size()) / autoRepeatTrackListLength; I know we ...
3 years, 11 months ago (2017-01-26 17:07:23 UTC) #3
svillar
On 2017/01/26 17:07:23, eae wrote: > LGTM > > https://codereview.chromium.org/2657863005/diff/40001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp > File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): > ...
3 years, 11 months ago (2017-01-26 18:10:39 UTC) #4
eae
Thanks! (still LGTM)
3 years, 11 months ago (2017-01-26 18:12:34 UTC) #5
Manuel Rego
https://codereview.chromium.org/2657863005/diff/40001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2657863005/diff/40001/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2045 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2045: // Clamp the number of repetitions so we don't ...
3 years, 11 months ago (2017-01-27 09:05:58 UTC) #6
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/2657863005/60001
3 years, 11 months ago (2017-01-27 09:39:46 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 11:11:29 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/946f89ab4dfffec7f9d13bac423c...

Powered by Google App Engine
This is Rietveld 408576698