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

Issue 228663014: Iterate Through Fewer Children When Seeking Overhanging Floats (Closed)

Created:
6 years, 8 months ago by rhogan
Modified:
6 years, 8 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Iterate Through Fewer Children When Seeking Overhanging Floats If a container's height is reduced it doesn't need to iterate through all its children looking for floats that might now overhang - it only needs to look back through float-containing children and even then only as far as the last child with a float in its list of own/intruding floats that overhangs the container's new height. We also don't need to track the bottom position of the lowest hanging float we encounter; we get that for free when we look at the lowestFloatLogicalBottom() of the last child. This is so because each child keeps a copy of any floats intruding from the previous sibling in its float list. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171906

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -26 lines) Patch
A LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html View 1 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/overhanging-from-second-last-sibling-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/overhanging-from-third-last-sibling.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/overhanging-from-third-last-sibling-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 2 3 12 chunks +17 lines, -23 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
rhogan
6 years, 8 months ago (2014-04-15 20:08:44 UTC) #1
leviw_travelin_and_unemployed
LGTM. Just to be clear: the test cases you added still passed prior to this ...
6 years, 8 months ago (2014-04-15 20:27:29 UTC) #2
rhogan
On 2014/04/15 20:27:29, Levi wrote: > LGTM. Just to be clear: the test cases you ...
6 years, 8 months ago (2014-04-15 20:33:04 UTC) #3
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 8 months ago (2014-04-17 17:46:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/228663014/60001
6 years, 8 months ago (2014-04-17 17:47:08 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 19:05:44 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-17 19:05:44 UTC) #7
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 8 months ago (2014-04-17 22:46:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/228663014/60001
6 years, 8 months ago (2014-04-17 22:46:46 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 23:55:49 UTC) #10
Message was sent while issue was closed.
Change committed as 171906

Powered by Google App Engine
This is Rietveld 408576698