Re-land "Detect floats to avoid or clear due to negative margin top (and followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
Committed: https://crrev.com/5c6452a360ed086b96680a2cad532e2be7d68385
Cr-Commit-Position: refs/heads/master@{#437951}
Description was changed from
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
BUG=671645, 670325, 666487
==========
to
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Fix the performance regression in mo
BUG=671645, 670325, 666487
==========
rhogan
Description was changed from ========== Re-land "Detect floats to avoid or clear due to negative ...
Description was changed from
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Fix the performance regression in mo
BUG=671645, 670325, 666487
==========
to
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
==========
On 2016/12/10 at 13:14:26, robhogan wrote:
>
LGTM
Can you please update the change description to include the full context of this
change? It'll make future code archaeology a little easier. Just add this to the
change description:
"""
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
"""
rhogan
Description was changed from ========== Re-land "Detect floats to avoid or clear due to negative ...
Description was changed from
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
==========
to
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
==========
Description was changed from
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
==========
to
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
Review-Url: https://codereview.chromium.org/2568643002
==========
Description was changed from
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
Review-Url: https://codereview.chromium.org/2568643002
==========
to
==========
Re-land "Detect floats to avoid or clear due to negative margin top (and
followup)"
Re-land https://codereview.chromium.org/2531953002 and
https://codereview.chromium.org/2547933003.
When a negative margin top pushes a block back up into its previous siblings
we need to check for any floats in those siblings it now needs to avoid or
clear.
Previously we were just looking at its neighbour, we need to keep looking until
we reach a sibling that we don't overlap.
Fix the performance regression on mossiella.com in
page_cycler_v2.tough_layout_cases
by only looking for floats if margin collapsing has actually moved the child up.
BUG=671645, 670325, 666487
Committed: https://crrev.com/5c6452a360ed086b96680a2cad532e2be7d68385
Cr-Commit-Position: refs/heads/master@{#437951}
==========
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5c6452a360ed086b96680a2cad532e2be7d68385 Cr-Commit-Position: refs/heads/master@{#437951}
Issue 2568643002: Re-land "Detect floats to avoid or clear due to negative margin top (and followup)"
(Closed)
Created 4 years ago by rhogan
Modified 4 years ago
Reviewers: pdr.
Base URL:
Comments: 0