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
|
@ -484,9 +484,6 @@ pub fn traverse_flow_tree_preorder(
|
|||
})
|
||||
});
|
||||
}, shared_layout_context);
|
||||
|
||||
let layout_context = LayoutContext::new(shared_layout_context);
|
||||
flow_ref::deref_mut(root).late_store_overflow(&layout_context);
|
||||
}
|
||||
|
||||
pub fn build_display_list_for_subtree(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue