mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
23 lines
506 B
HTML
23 lines
506 B
HTML
|
<!doctype html>
|
||
|
<link rel="match" href="reference/css-keyframe-invalid-transform-should-not-render-ref.html" />
|
||
|
<style>
|
||
|
#foo {
|
||
|
width: 100px;
|
||
|
height: 100px;
|
||
|
background-color: blue;
|
||
|
animation: anim 1s;
|
||
|
}
|
||
|
@keyframes anim {
|
||
|
from {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
to {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<div id="foo"></div>
|
||
|
<script>
|
||
|
document.getElementById("foo").getAnimations()[0].currentTime = 500;
|
||
|
</script>
|