diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-09-10 18:06:37 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-09-10 18:07:21 -0700 |
commit | 99587cf105afddd802401cc170882af5dee4baa6 (patch) | |
tree | bcb8a336e3d6920a30bc5ecb3d1b0fa6b5bef59b /components/layout/parallel.rs | |
parent | f190ba360e41465d43972826b6715eb39e7b9822 (diff) | |
download | servo-99587cf105afddd802401cc170882af5dee4baa6.tar.gz servo-99587cf105afddd802401cc170882af5dee4baa6.zip |
layout: Allow the overflow area of the `<body>` to be scrolled.
Fixes scrolling on Twitter.
Diffstat (limited to 'components/layout/parallel.rs')
-rw-r--r-- | components/layout/parallel.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index 78e7e876db4..576e9ae9f21 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -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( |