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

Issue 1883163002: Don't call paginatedContentWasLaidOut() until we have the final layout. (Closed)

Created:
4 years, 8 months ago by mstensho (USE GERRIT)
Modified:
4 years, 8 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't call paginatedContentWasLaidOut() until we have the final layout. Blocks may need relayout because of pagination, and calling paginatedContentWasLaidOut() before that has taken place could make us account for a leading pagination strut twice (once before the block child, and once before the first line inside the block). In a nested multicol context this could trigger creation of additional fragmentainer groups that will be unneeded in the end. This fixes the assertion mentioned in bug 594833, but new ones will pop up instead, because of brokenness in the column balancer. That will be fixed in a separate CL. BUG=594833 Committed: https://crrev.com/9958b7d0b612a7b1bbea85f1c8f2825faa5cebb6 Cr-Commit-Position: refs/heads/master@{#387548}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-with-strut-before-first-line.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-with-strut-before-first-line-expected.html View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mstensho (USE GERRIT)
That mythical other CL that's mentioned in the description is https://codereview.chromium.org/1891783002/ - but that one ...
4 years, 8 months ago (2016-04-14 18:09:26 UTC) #3
leviw_travelin_and_unemployed
On 2016/04/14 at 18:09:26, mstensho wrote: > That mythical other CL that's mentioned in the ...
4 years, 8 months ago (2016-04-14 22:20:34 UTC) #4
mstensho (USE GERRIT)
On 2016/04/14 22:20:34, leviw wrote: > On 2016/04/14 at 18:09:26, mstensho wrote: > > Also, ...
4 years, 8 months ago (2016-04-15 06:14:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883163002/1
4 years, 8 months ago (2016-04-15 06:14:41 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-15 07:11:25 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 07:12:36 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9958b7d0b612a7b1bbea85f1c8f2825faa5cebb6
Cr-Commit-Position: refs/heads/master@{#387548}

Powered by Google App Engine
This is Rietveld 408576698