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

Issue 2468193002: Revert of Improve how the column balancer handles top margins on floats. (Closed)

Created:
4 years, 1 month ago by please use gerrit instead
Modified:
4 years, 1 month 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Improve how the column balancer handles top margins on floats. (patchset #3 id:40001 of https://codereview.chromium.org/2465363003/ ) Reason for revert: Speculative revert to fix csspaint/invalidation-background-image.html failure on "WebKit Win7 (dbg)" bot. Failed build: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/7961 Original issue's description: > Improve how the column balancer handles top margins on floats. > > Float margins do not collapse with column boundaries, so we should make room > for them after the break, if the border box of the float starts in the next > column. > > Let the balancer work on the margin box of the float (and the border box for > all other objects). For floats, we want to insert breaks before the > margin-before edge, not the border-before edge. This lets us remove > some special-code for unbreakable floats in InitialColumnHeightFinder, which > was the only place that previously bothered about this. > > Changed how we determine which objects to process. We used to include the > overflow both before and after the border box, but we really don't have to > bother with content preceding it, since that shouldn't undergo fragmentation > anyway. > > Discovered (one test regressed) that logicalHeightIncludingOverflow() also > included clipped overflow, which certainly wasn't the intention. This didn't > make much of a difference as long as the method was only called to check if we > could skip re-layout. But now we also use it to determine the column height. > Fixed it to only include visible overflow and renamed it to > logicalHeightWithVisibleOverflow(). > > Committed: https://crrev.com/7c82da727f64121aa34aa1decf82452c37ef7a2d > Cr-Commit-Position: refs/heads/master@{#429245} TBR=eae@chromium.org,mstensho@opera.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://crrev.com/58f81484437d367285de9f0fc1fdd4034eb5c333 Cr-Commit-Position: refs/heads/master@{#429265}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -82 lines) Patch
D third_party/WebKit/LayoutTests/fast/multicol/balance-float-with-margin-top-and-line-after-break-2.html View 1 chunk +0 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ColumnBalancer.h View 3 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ColumnBalancer.cpp View 11 chunks +26 lines, -46 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
please use gerrit instead
Created Revert of Improve how the column balancer handles top margins on floats.
4 years, 1 month ago (2016-11-02 13:43:56 UTC) #2
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/2468193002/1
4 years, 1 month ago (2016-11-02 13:44:23 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-02 13:45:23 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/58f81484437d367285de9f0fc1fdd4034eb5c333 Cr-Commit-Position: refs/heads/master@{#429265}
4 years, 1 month ago (2016-11-02 13:47:15 UTC) #7
mstensho (USE GERRIT)
On 2016/11/02 13:43:56, rouslan wrote: > Created Revert of Improve how the column balancer handles ...
4 years, 1 month ago (2016-11-02 13:57:24 UTC) #8
please use gerrit instead
On 2016/11/02 13:57:24, mstensho wrote: > On 2016/11/02 13:43:56, rouslan wrote: > > Created Revert ...
4 years, 1 month ago (2016-11-02 13:59:44 UTC) #9
eae
LGTM
4 years, 1 month ago (2016-11-02 15:39:39 UTC) #10
please use gerrit instead
So far 1 build with the revert has passed: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/7964 I will continue to monitor ...
4 years, 1 month ago (2016-11-02 18:12:44 UTC) #11
please use gerrit instead
2 builds ran so far and both passed. Sorry, this bot is slow.
4 years, 1 month ago (2016-11-02 21:09:53 UTC) #12
please use gerrit instead
The 3rd build failed with virtual/service-worker-navigation-preload/http/tests/serviceworker/foreign-fetch-cors.html , but csspaint/invalidation-background-image.html is still passing. If you strongly ...
4 years, 1 month ago (2016-11-02 21:51:38 UTC) #13
mstensho (USE GERRIT)
On 2016/11/02 21:51:38, rouslan wrote: > The 3rd build failed with > virtual/service-worker-navigation-preload/http/tests/serviceworker/foreign-fetch-cors.html > , ...
4 years, 1 month ago (2016-11-02 22:00:49 UTC) #14
please use gerrit instead
Yes On Nov 2, 2016 6:00 PM, <mstensho@opera.com> wrote: > On 2016/11/02 21:51:38, rouslan wrote: ...
4 years, 1 month ago (2016-11-02 22:03:39 UTC) #15
please use gerrit instead
Yes On Nov 2, 2016 6:00 PM, <mstensho@opera.com> wrote: > On 2016/11/02 21:51:38, rouslan wrote: ...
4 years, 1 month ago (2016-11-02 22:03:39 UTC) #16
mstensho (USE GERRIT)
4 years, 1 month ago (2016-11-02 22:10:38 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2471933002/ by mstensho@opera.com.

The reason for reverting is: csspaint/invalidation-background-image.html was
also failing (flaky) before landing this CL..

Powered by Google App Engine
This is Rietveld 408576698