Skip to content

Commit 35ab311

Browse files
authored
Auto merge of servo#29959 - mrobinson:split-layout-in-flow-non-replaced-block-level, r=Loirooriol
Split layout_in_flow_non_replaced_block_level This function is already quite big and the changes necessary for properly laying out independent formatting contexts next to floats will make it even more unwieldy. Split the function in two and add a helper for calculating the containing block for children and the margin. As time goes on the independent formatting case is probably going to be more like the replaced case anyway. Co-authored-by: Oriol Brufau <obrufau@igalia.com> <!-- 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 do not require tests because they are a simple refactoring. <!-- 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. -->
2 parents c19eb80 + fa40c22 commit 35ab311

File tree

1 file changed

+226
-148
lines changed
  • components/layout_2020/flow

1 file changed

+226
-148
lines changed

0 commit comments

Comments
 (0)