mirror of
https://github.com/servo/servo.git
synced 2025-06-17 21:04:28 +00:00
Added floats to the flow tree
This commit is contained in:
parent
d3fe4f4e3a
commit
94e7a86b7e
10 changed files with 398 additions and 51 deletions
|
@ -225,9 +225,9 @@ impl Layout {
|
|||
for layout_root.traverse_preorder |flow| {
|
||||
flow.assign_widths(&mut layout_ctx);
|
||||
};
|
||||
for layout_root.traverse_postorder |flow| {
|
||||
flow.assign_height(&mut layout_ctx);
|
||||
};
|
||||
|
||||
// For now, this is an inorder traversal
|
||||
layout_root.assign_height(&mut layout_ctx);
|
||||
}
|
||||
|
||||
// Build the display list if necessary, and send it to the renderer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue