Handle floats in BlockContainer::inline_content_sizes

Typically, block-level contents are stacked vertically, so this was just
taking the maximum size among all contents. However, floats can be
stacked horizontally, so we need to sum their sizes.
This commit is contained in:
Oriol Brufau 2023-06-14 23:26:34 +02:00
parent 47fb54fc54
commit 4ec6dd1783
4 changed files with 112 additions and 28 deletions

View file

@ -1,4 +1,7 @@
[flex-basis-intrinsics-001.html]
[.flex-item 1]
expected: FAIL
[.flex-item 2]
expected: FAIL
@ -20,11 +23,5 @@
[.flex-item 6]
expected: FAIL
[.flex-item 7]
expected: FAIL
[.flex-item 9]
expected: FAIL
[.flex-item 11]
expected: FAIL