forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 35ab311
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. -->File tree
Expand file treeCollapse file tree
1 file changed
+226
-148
lines changedFilter options
- components/layout_2020/flow
Expand file treeCollapse file tree
1 file changed
+226
-148
lines changed
0 commit comments