mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #29887 - Loirooriol:float-inline-size-complete, r=mrobinson
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. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #29874 <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
836ae5fa48
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