summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1418059.html
blob: a799e162a9b9e4d984bfb8fb604f5157b33d02b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html class="reftest-wait">
<style>
@keyframes anim {
  to { transform: rotate(360deg); }
}
.document-ready .animation::after {
  display: none;
}
.animation::after {
  content: "";
  animation: anim 1s infinite;
}
</style>
<div class="animation"></div>
<script>
window.addEventListener('load', () => {
  document.documentElement.classList.add('document-ready');
  requestAnimationFrame(() => {
    document.documentElement.classList.remove('reftest-wait');
  });
});
</script>
</html>