aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2017-10-03 13:00:52 +0200
committerMartin Robinson <mrobinson@igalia.com>2017-10-03 13:00:52 +0200
commit7920ff7b57d7bf931cd23b103ed34220f6616d3f (patch)
tree6a49062e735bd6127b7e8daf99f395f8cd269687 /components/script_layout_interface/message.rs
parent2a5121357a76e2b558ecd0dae7689d709b6a2b41 (diff)
downloadservo-7920ff7b57d7bf931cd23b103ed34220f6616d3f.tar.gz
servo-7920ff7b57d7bf931cd23b103ed34220f6616d3f.zip
TickAnimations should create a display list
This is a regression from the removal of ReflowQueryType. Fixes #18701.
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r--components/script_layout_interface/message.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 2df0b7de1fb..a026b349ab8 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -126,12 +126,13 @@ impl ReflowGoal {
pub fn needs_display_list(&self) -> bool {
match *self {
ReflowGoal::NodesFromPoint(..) | ReflowGoal::HitTestQuery(..) |
- ReflowGoal::TextIndexQuery(..) | ReflowGoal::Full => true,
+ ReflowGoal::TextIndexQuery(..) | ReflowGoal::TickAnimations |
+ ReflowGoal::Full => true,
ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) |
ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) |
ReflowGoal::NodeOverflowQuery(_) | ReflowGoal::NodeScrollRootIdQuery(_) |
ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) |
- ReflowGoal::MarginStyleQuery(_) | ReflowGoal::TickAnimations => false,
+ ReflowGoal::MarginStyleQuery(_) => false,
}
}