diff options
author | Martin Robinson <mrobinson@igalia.com> | 2018-01-16 18:47:05 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2018-02-06 15:10:35 +0100 |
commit | 99eb457fc7afb0cd4178ae955d0d998e253b25f2 (patch) | |
tree | 7be3fa7b2607a271983fede7720c984610e4b255 /components/script_layout_interface/message.rs | |
parent | 984f3ccc414bf420787efcb10eebe48cf2cbca36 (diff) | |
download | servo-99eb457fc7afb0cd4178ae955d0d998e253b25f2.tar.gz servo-99eb457fc7afb0cd4178ae955d0d998e253b25f2.zip |
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.
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index 6f2ab91420d..f53022d5286 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -113,7 +113,7 @@ pub enum ReflowGoal { TickAnimations, ContentBoxQuery(TrustedNodeAddress), ContentBoxesQuery(TrustedNodeAddress), - NodeScrollRootIdQuery(TrustedNodeAddress), + NodeScrollIdQuery(TrustedNodeAddress), NodeGeometryQuery(TrustedNodeAddress), NodeScrollGeometryQuery(TrustedNodeAddress), ResolvedStyleQuery(TrustedNodeAddress, Option<PseudoElement>, PropertyId), @@ -132,7 +132,7 @@ impl ReflowGoal { ReflowGoal::TickAnimations | ReflowGoal::Full => true, ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) | ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) | - ReflowGoal::NodeScrollRootIdQuery(_) | + ReflowGoal::NodeScrollIdQuery(_) | ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) | ReflowGoal::StyleQuery(_) => false, } @@ -145,8 +145,7 @@ impl ReflowGoal { ReflowGoal::StyleQuery(_) | ReflowGoal::TextIndexQuery(..) | ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) | ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) | - ReflowGoal::NodeScrollRootIdQuery(_) | - ReflowGoal::ResolvedStyleQuery(..) | + ReflowGoal::NodeScrollIdQuery(_) | ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) => false, ReflowGoal::NodesFromPointQuery(..) | ReflowGoal::Full | ReflowGoal::TickAnimations => true, |