mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
fb3fe3d784
17 changed files with 131 additions and 56 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue