mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-07 09:31:53 +00:00
13 lines
374 B
HTML
13 lines
374 B
HTML
<!DOCTYPE html>
|
|
<script src="../../include.js"></script>
|
|
<div id="foo"></div>
|
|
<script>
|
|
test(() => {
|
|
const div = document.getElementById("foo");
|
|
div.style.opacity = '0';
|
|
|
|
const animation = div.animate({ all: 'initial' }, 100);
|
|
animation.currentTime = 50
|
|
println(`opacity value: ${getComputedStyle(div).opacity}`);
|
|
})
|
|
</script>
|