зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
488 B
HTML
24 строки
488 B
HTML
<!DOCTYPE html>
|
|
<html class=reftest-wait>
|
|
<meta charset=utf-8>
|
|
<script>
|
|
|
|
function boom() {
|
|
const div = document.createElement('div');
|
|
const anim = div.animate([{}], {});
|
|
document.documentElement.appendChild(div);
|
|
anim.pause();
|
|
document.documentElement.removeChild(div);
|
|
|
|
requestAnimationFrame(() => {
|
|
document.documentElement.appendChild(div);
|
|
anim.play();
|
|
document.documentElement.className = '';
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|