mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
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:
parent
47fb54fc54
commit
4ec6dd1783
4 changed files with 112 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue