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

Issue 1756003003: Reland "Fully (?) fix overflow: auto with delayed scroll updates (patchset #5 id:80001 of https://c… (Closed)

Created:
4 years, 9 months ago by cbiesinger
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "Fully (?) fix overflow: auto with delayed scroll updates (patchset #5 id:80001 of https://codereview.chromium.org/1734203002/ )" This reverts commit f331574002bdde48e2c8ee0a657f202252548f8e aka https://codereview.chromium.org/1746353002 The crashes that it caused are now fixed by http://crrev.com/1755543002 Original description: > Fully (?) fix overflow: auto with delayed scroll updates > > The scroll delaying code, used by Flexbox, never lays out the > parent after the child relayout. This is a problem especially > because the layout can add/remove a horizontal scrollbar, > which changes the height of the element. A vertical scrollbar > has this problem less often, though it sometimes does, especially > in case of flex items. As far as I can tell, this never worked > correctly since the scroll delaying code existed. > > This patch changes it so that when we eventually do the scroll info > updates, we mark the ancestor chain for layout (up to the outer flexbox) > and then call layoutFlexItems again, to do the correct layout. > > See also the discussion thread at > https://groups.google.com/a/chromium.org/d/topic/layout-dev/e7Wzvxu7qiA/discussion > > BUG=579401, 584363 > > Review URL: https://codereview.chromium.org/1734203002 BUG=579401, 584363, 525316 R=leviw@chromium.org Committed: https://crrev.com/0bd7c3283a172513fbd1a7d8cad7ad244b11b60f Cr-Commit-Position: refs/heads/master@{#378896}

Patch Set 1 #

Messages

Total messages: 15 (4 generated)
cbiesinger
4 years, 9 months ago (2016-03-02 21:09:45 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756003003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756003003/1
4 years, 9 months ago (2016-03-02 21:10:14 UTC) #3
leviw_travelin_and_unemployed
Any chance you made a minimized crash test case we could add to this?
4 years, 9 months ago (2016-03-02 21:36:35 UTC) #4
cbiesinger
On 2016/03/02 21:36:35, leviw wrote: > Any chance you made a minimized crash test case ...
4 years, 9 months ago (2016-03-02 21:42:41 UTC) #5
leviw_travelin_and_unemployed
It'd certainly be nice to have. LGTM anyhow.
4 years, 9 months ago (2016-03-02 21:44:54 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-03 00:28:30 UTC) #8
cbiesinger
It is very hard to write a testcase, I've been trying for a few hours ...
4 years, 9 months ago (2016-03-03 00:36:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756003003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756003003/1
4 years, 9 months ago (2016-03-03 00:37:00 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-03 00:43:22 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0bd7c3283a172513fbd1a7d8cad7ad244b11b60f Cr-Commit-Position: refs/heads/master@{#378896}
4 years, 9 months ago (2016-03-03 00:44:23 UTC) #14
lushnikov
4 years, 9 months ago (2016-03-09 02:31:57 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1775293002/ by lushnikov@chromium.org.

The reason for reverting is: Please see crbug.com/593209 for details. .

Powered by Google App Engine
This is Rietveld 408576698