mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
TickAnimations should create a display list
This is a regression from the removal of ReflowQueryType. Fixes #18701.
This commit is contained in:
parent
2a5121357a
commit
7920ff7b57
1 changed files with 3 additions and 2 deletions
|
@ -126,12 +126,13 @@ impl ReflowGoal {
|
||||||
pub fn needs_display_list(&self) -> bool {
|
pub fn needs_display_list(&self) -> bool {
|
||||||
match *self {
|
match *self {
|
||||||
ReflowGoal::NodesFromPoint(..) | ReflowGoal::HitTestQuery(..) |
|
ReflowGoal::NodesFromPoint(..) | ReflowGoal::HitTestQuery(..) |
|
||||||
ReflowGoal::TextIndexQuery(..) | ReflowGoal::Full => true,
|
ReflowGoal::TextIndexQuery(..) | ReflowGoal::TickAnimations |
|
||||||
|
ReflowGoal::Full => true,
|
||||||
ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) |
|
ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) |
|
||||||
ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) |
|
ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) |
|
||||||
ReflowGoal::NodeOverflowQuery(_) | ReflowGoal::NodeScrollRootIdQuery(_) |
|
ReflowGoal::NodeOverflowQuery(_) | ReflowGoal::NodeScrollRootIdQuery(_) |
|
||||||
ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) |
|
ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) |
|
||||||
ReflowGoal::MarginStyleQuery(_) | ReflowGoal::TickAnimations => false,
|
ReflowGoal::MarginStyleQuery(_) => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue