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

Issue 2836293003: Let siblings layout if an adjacent float may no longer affect them (Closed)

Created:
3 years, 7 months ago by rhogan
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Let siblings layout if an adjacent float may no longer affect them Negative margin top can move a float up out of the way of siblings/descendants that are currently avoiding them. We need to account for the position of the child's current lowest float so that it can try laying out again. BUG=711938 Review-Url: https://codereview.chromium.org/2836293003 Cr-Commit-Position: refs/heads/master@{#467479} Committed: https://chromium.googlesource.com/chromium/src/+/789b5e528fb3bd9ca44341de46547c45355652ab

Patch Set 1 #

Patch Set 2 : bug 711938 #

Patch Set 3 : bug 711938 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/block/float/margin-top-changes.html View 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
rhogan
3 years, 7 months ago (2017-04-25 17:55:23 UTC) #4
rhogan
On 2017/04/25 at 17:55:23, rhogan wrote: > Mm, unsurprisingly this approach has performance problems - ...
3 years, 7 months ago (2017-04-25 19:06:22 UTC) #7
rhogan
OK this is ready for a look now. No perf regressions anymore.
3 years, 7 months ago (2017-04-26 20:09:08 UTC) #17
eae
Very nice, LGTM!
3 years, 7 months ago (2017-04-26 21:33:10 UTC) #20
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/2836293003/40001
3 years, 7 months ago (2017-04-26 22:05:34 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-04-26 22:12:20 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/789b5e528fb3bd9ca44341de4654...

Powered by Google App Engine
This is Rietveld 408576698