mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
When no CSS animation exist, register timer for image animation, update
animated image active image frame as part of update_the_rendering, mark
node as dirty if the corresponding image need update. Added unit test to
test ImageAnimationState.
Part of https://github.com/servo/servo/issues/36057, the last step to
let the Animated Image "Move".
Testing: Introduced new WPT RefTest for animated image, but fail because
of https://github.com/servo/servo/issues/36931. New unit test for
`ImageAnimationState`.
Fixes: https://github.com/servo/servo/issues/22903
https://github.com/servo/servo/issues/36057
[Try](1472472966
)
---------
Signed-off-by: rayguo17 <rayguo17@gmail.com>
9 lines
181 B
HTML
Vendored
9 lines
181 B
HTML
Vendored
<!DOCTYPE html>
|
|
<head>
|
|
<title>Reference for Animated image active frame update when passing delay time</title>
|
|
</head>
|
|
|
|
<body>
|
|
<img src="resources/green.png">
|
|
</body>
|
|
</html>
|