mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
32 lines
488 B
HTML
32 lines
488 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
@keyframes foo {
|
|
from,
|
|
to {
|
|
color: red;
|
|
}
|
|
}
|
|
|
|
@keyframes bar {
|
|
from,
|
|
to {
|
|
width: 10px;
|
|
}
|
|
}
|
|
|
|
#foo {
|
|
animation: foo 1s infinite;
|
|
}
|
|
|
|
#bar {
|
|
animation: bar 1s infinite;
|
|
}
|
|
</style>
|
|
<div id="foo"><div id="bar"></div></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(getComputedStyle(bar).color);
|
|
});
|
|
</script>
|