diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-11 11:20:13 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-11 11:20:13 -0600 |
commit | 8d7ba12f28a873880c1f51b122d4fc185294c849 (patch) | |
tree | edc62b38e61e59557221f4980ad5590b4e8ba78d /components/layout/sequential.rs | |
parent | c3f9e1813ac93d0e143397ea5df9d4e5bc452d73 (diff) | |
parent | 99587cf105afddd802401cc170882af5dee4baa6 (diff) | |
download | servo-8d7ba12f28a873880c1f51b122d4fc185294c849.tar.gz servo-8d7ba12f28a873880c1f51b122d4fc185294c849.zip |
Auto merge of #7600 - pcwalton:body-overflow-scroll, r=mbrubeck
layout: Allow the overflow area of the `<body>` to be scrolled.
Fixes scrolling on Twitter.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7600)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r-- | components/layout/sequential.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs index d557cc93b41..e1ceeb2714e 100644 --- a/components/layout/sequential.rs +++ b/components/layout/sequential.rs @@ -92,6 +92,8 @@ 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, |