mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-15 13:31:54 +00:00
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
21 lines
476 B
HTML
21 lines
476 B
HTML
<!doctype html>
|
|
<link rel="match" href="../expected/css-keyframe-fill-forwards-ref.html" />
|
|
<style>
|
|
#foo {
|
|
width: 100px;
|
|
height: 100px;
|
|
animation: anim 1s linear forwards;
|
|
}
|
|
@keyframes anim {
|
|
from {
|
|
background-color: red;
|
|
}
|
|
to {
|
|
background-color: blue;
|
|
}
|
|
}
|
|
</style>
|
|
<div id="foo"></div>
|
|
<script>
|
|
document.getElementById("foo").getAnimations()[0].currentTime = 1500;
|
|
</script>
|