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

Issue 2582363002: [css-grid] Fix positioning of positioned grid children (Closed)

Created:
4 years ago by svillar
Modified:
4 years ago
Reviewers:
jfernandez, Manuel Rego
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] Fix positioning of positioned grid children crrev.com/2543163002 added a potential performance fix to remove extra layouts of positioned children of grids. The problem that was instead of just avoiding an extra layout, it was also preventing the code positioning the children from running. The main consecuence was that all positioned children were always painted in cell (0,0) of the grid. BUG=273898 Committed: https://crrev.com/62e83c91f92a640885122b8bf1077d01c63b0609 Cr-Commit-Position: refs/heads/master@{#439459}

Patch Set 1 #

Patch Set 2 : Use a ref test instead #

Patch Set 3 : Improved test #

Patch Set 4 : Improved test v2 #

Total comments: 5

Patch Set 5 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children-expected.html View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
svillar
Sending out for review
4 years ago (2016-12-19 11:46:41 UTC) #2
Manuel Rego
lgtm https://codereview.chromium.org/2582363002/diff/60001/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html (right): https://codereview.chromium.org/2582363002/diff/60001/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html#newcode6 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children.html:6: display: grid; Nit: You don't need this line. ...
4 years ago (2016-12-19 11:56:07 UTC) #3
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/2582363002/80001
4 years ago (2016-12-19 12:04:42 UTC) #6
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-19 13:28:33 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-19 13:31:21 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/62e83c91f92a640885122b8bf1077d01c63b0609
Cr-Commit-Position: refs/heads/master@{#439459}

Powered by Google App Engine
This is Rietveld 408576698