mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Allow the overflow area of the <body>
to be scrolled.
Fixes scrolling on Twitter.
This commit is contained in:
parent
f190ba360e
commit
99587cf105
4 changed files with 46 additions and 1 deletions
|
@ -482,6 +482,9 @@ 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