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 1167323003: Need deeper layout passes inside flexboxes when fragmenting (pagination, multicol). (Closed)

Created:
5 years, 6 months ago by mstensho (USE GERRIT)
Modified:
5 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Need deeper layout passes inside flexboxes when fragmenting (pagination, multicol). When the fragmentainer (page / column) boundaries have changed, we need to go deep when laying out. Objects otherwise not marked for layout may still need layout. We already do this for regular blocks and when inside tables, but it was missing for flexbox. Adding this both improves rendering of multicol with flexbox and gets rid of an assertion failure. BUG=497981 R=cbiesinger@chromium.org,dsinclair@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196795

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -9 lines) Patch
A LayoutTests/fast/multicol/flexbox.html View 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/flexbox-expected.html View 1 chunk +6 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/span/button-with-spanner-crash.html View 1 chunk +3 lines, -3 lines 0 comments Download
A + LayoutTests/fast/multicol/span/button-with-spanner-crash-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/layout/LayoutFlexibleBox.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutFlexibleBox.cpp View 6 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
mstensho (USE GERRIT)
5 years, 6 months ago (2015-06-09 13:06:52 UTC) #1
dsinclair
This seems fine to me but cbiesinger@ is the flexbox expert so please wait for ...
5 years, 6 months ago (2015-06-09 13:26:41 UTC) #2
leviw_travelin_and_unemployed
LGTM.
5 years, 6 months ago (2015-06-09 18:43:36 UTC) #4
cbiesinger
lgtm So this looks like it makes sense but I don't think I understand why ...
5 years, 6 months ago (2015-06-09 19:50:54 UTC) #5
cbiesinger
oh... this is for the case when the height changes. ok, this makes sense.
5 years, 6 months ago (2015-06-09 19:53:17 UTC) #6
mstensho (USE GERRIT)
On 2015/06/09 19:50:54, cbiesinger wrote: > lgtm > > So this looks like it makes ...
5 years, 6 months ago (2015-06-09 19:58:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167323003/1
5 years, 6 months ago (2015-06-09 19:58:30 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-09 20:02:05 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196795

Powered by Google App Engine
This is Rietveld 408576698