mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update WebRender
This allows servo to use the ExternalScrollId API from WebRender fixing some issues related to duplicate scroll root ids. Fixes #17176. Fixes #19287. Fixes #19648.
This commit is contained in:
parent
984f3ccc41
commit
99eb457fc7
19 changed files with 154 additions and 119 deletions
|
@ -261,6 +261,10 @@ impl PipelineId {
|
|||
webrender_api::ClipId::root_scroll_node(self.to_webrender())
|
||||
}
|
||||
|
||||
pub fn root_scroll_id(&self) -> webrender_api::ExternalScrollId {
|
||||
webrender_api::ExternalScrollId(0, self.to_webrender())
|
||||
}
|
||||
|
||||
pub fn root_clip_and_scroll_info(&self) -> webrender_api::ClipAndScrollInfo {
|
||||
webrender_api::ClipAndScrollInfo::simple(self.root_scroll_node())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue