diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-23 15:10:35 +0200 |
---|---|---|
committer | Oriol Brufau <obrufau@igalia.com> | 2023-06-27 22:45:42 +0200 |
commit | bb1370255691ff723d1d804fe0348f88dd9ac686 (patch) | |
tree | 1de50944a7ce254392f6968eda8b8513eaa0bcc7 /components/layout_2020/fragment_tree/box_fragment.rs | |
parent | 1ca74a3ceea37ed6eb8786c35028966d4b8d3547 (diff) | |
download | servo-bb1370255691ff723d1d804fe0348f88dd9ac686.tar.gz servo-bb1370255691ff723d1d804fe0348f88dd9ac686.zip |
Properly position floats when subsequent boxes collapse margins with containing block
Margins should be able to collapse through floats when collapsing with
parent blocks (the containing block). To properly place floats in this
situation, we need to look at these subsequent floats to find out how
much of the margin will collapse with the parent.
This initial implementation is very basic and the second step would be
to cache this in order to avoid having to constantly recalculate it.
Fixes #29915.
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/layout_2020/fragment_tree/box_fragment.rs')
0 files changed, 0 insertions, 0 deletions