diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-08 11:55:20 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-11 11:47:56 +0200 |
commit | bc58bb080f5a209f8817de7a33e33613d567c012 (patch) | |
tree | d322dc9d58dff2db03e07321bad809a424e93afe /python/tidy/test.py | |
parent | fc512cef42a8b5d0046cb467baac0c8bc8856af5 (diff) | |
download | servo-bc58bb080f5a209f8817de7a33e33613d567c012.tar.gz servo-bc58bb080f5a209f8817de7a33e33613d567c012.zip |
Layout 2020: Properly handle negative block margins in floats
If a float has negative block margins, it should be pushed upward, but
shouldn't affect the positioning of any floats that came before it. It
should lower the ceiling though when it still has some non-negative
block contribution. In order to implement this behavior, we should only
place the float considering its non-negative block length contribution. If
the float is pushed up completely past it's "natural" position, it
should be placed like a float with zero block size.
Diffstat (limited to 'python/tidy/test.py')
0 files changed, 0 insertions, 0 deletions