mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
layout: Expand animation test mode to support not force-ticking layout.
This commit is contained in:
parent
805988e839
commit
0e3d4ab407
5 changed files with 16 additions and 12 deletions
|
@ -42,8 +42,9 @@ pub enum Msg {
|
|||
|
||||
/// Updates layout's timer for animation testing from script.
|
||||
///
|
||||
/// The inner field is the number of *milliseconds* to advance.
|
||||
AdvanceClockMs(i32),
|
||||
/// The inner field is the number of *milliseconds* to advance, and the bool
|
||||
/// field is whether animations should be force-ticked.
|
||||
AdvanceClockMs(i32, bool),
|
||||
|
||||
/// Requests that the layout thread reflow with a newly-loaded Web font.
|
||||
ReflowWithNewlyLoadedWebFont,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue