mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Eliminate ScrollRootId
Just use WebRender's ClipId directly. This will allow us to create and use ReferenceFrames in the future, if we need to do that. It will also make it easier to have Servo responsible for creating the root scrolling area, which will allow removing some old hacks in the future.
This commit is contained in:
parent
7919e591a4
commit
d150cc9f95
24 changed files with 226 additions and 281 deletions
|
@ -242,7 +242,7 @@ impl<'a> BuildDisplayList<'a> {
|
|||
self.state.current_stacking_context_id = flow::base(flow).stacking_context_id;
|
||||
|
||||
let parent_scroll_root_id = self.state.current_scroll_root_id;
|
||||
self.state.current_scroll_root_id = flow::base(flow).scroll_root_id;
|
||||
self.state.current_scroll_root_id = flow.scroll_root_id(self.state.layout_context.id);
|
||||
|
||||
if self.should_process() {
|
||||
flow.build_display_list(&mut self.state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue