mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Stop splitting scroll roots
Now that WebRender can handle splitting scrolling layers on its own, we don't need to do any work to split up scroll roots. This should also make it possible to handle overflow:scroll and containing block scroll roots in the future.
This commit is contained in:
parent
2f6cf2e9c8
commit
9d72e89ce3
5 changed files with 173 additions and 163 deletions
|
@ -2233,10 +2233,11 @@ impl Flow for BlockFlow {
|
|||
|
||||
fn compute_overflow(&self) -> Overflow {
|
||||
let flow_size = self.base.position.size.to_physical(self.base.writing_mode);
|
||||
self.fragment.compute_overflow(&flow_size,
|
||||
let overflow = self.fragment.compute_overflow(&flow_size,
|
||||
&self.base
|
||||
.early_absolute_position_info
|
||||
.relative_containing_block_size)
|
||||
.relative_containing_block_size);
|
||||
overflow
|
||||
}
|
||||
|
||||
fn iterate_through_fragment_border_boxes(&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue