aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/parallel.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-09-10 18:06:37 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-09-10 18:07:21 -0700
commit99587cf105afddd802401cc170882af5dee4baa6 (patch)
treebcb8a336e3d6920a30bc5ecb3d1b0fa6b5bef59b /components/layout/parallel.rs
parentf190ba360e41465d43972826b6715eb39e7b9822 (diff)
downloadservo-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.rs3
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(