Auto merge of #9522 - pcwalton:two-overflows, r=mbrubeck

layout: Separate out overflow-for-scrolling from overflow-for-paint.

Closes #9484.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9522)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-02-05 10:58:50 +05:30
commit fb3fe3d784
17 changed files with 131 additions and 56 deletions

View file

@ -865,7 +865,7 @@ impl LayoutThread {
if rw_data.stylist.viewport_constraints().is_some() {
root_flow.position.size.to_physical(root_flow.writing_mode)
} else {
root_flow.overflow.size
root_flow.overflow.scroll.size
}
};
let mut display_list = box DisplayList::new();