mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Change overflow calculation to be calculated after compute_absolute_position.
Also include absolutely positioned elements in the overflow rect calculation. Fixes #7797.
This commit is contained in:
parent
4f51710ed3
commit
695b7491fe
10 changed files with 75 additions and 105 deletions
|
@ -98,8 +98,6 @@ pub fn traverse_flow_tree_preorder(root: &mut FlowRef,
|
|||
let assign_block_sizes = AssignBSizesAndStoreOverflow { layout_context: &layout_context };
|
||||
|
||||
doit(root, assign_inline_sizes, assign_block_sizes);
|
||||
|
||||
root.late_store_overflow(&layout_context);
|
||||
}
|
||||
|
||||
pub fn build_display_list_for_subtree(root: &mut FlowRef,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue