mirror of
https://github.com/servo/servo.git
synced 2025-07-02 04:53:39 +01:00
layout: Make inner scroll wrappers acquire the overflow region of their
contents. Makes Twitter pages show up when scrolling, if WebRender is not in use. WebRender does not yet support overflow:scroll.
This commit is contained in:
parent
0a1efe4578
commit
6a6b688fa8
2 changed files with 40 additions and 1 deletions
|
@ -1308,7 +1308,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
}
|
||||
};
|
||||
let overflow = match mode {
|
||||
StackingContextCreationMode::InnerScrollWrapper |
|
||||
StackingContextCreationMode::InnerScrollWrapper => {
|
||||
Rect::new(Point2D::zero(), base_flow.overflow.paint.size)
|
||||
}
|
||||
StackingContextCreationMode::OuterScrollWrapper => {
|
||||
Rect::new(Point2D::zero(), border_box.size)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue