mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Separate out overflow-for-scrolling from overflow-for-paint.
Closes #9484.
This commit is contained in:
parent
f605c6aa69
commit
7c5b2d6cb3
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