summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/retained-dl-opacity-animation-on-ib-split.html
blob: 39d8d93b190a329c5fde5be46526a9481dd362a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html class="reftest-wait">
<head>
<style>
@keyframes anim {
  from, to { opacity: 0; }
}

.anim {
  animation: anim 100s infinite;
}
</style>
</head>
<body>
  <span id="animating" class="reftest-no-display-list">A <span style="display:block"></span> C</span>
</body>
<script>
window.addEventListener("MozReftestInvalidate", () => {
  document.getElementById("animating").classList.add("anim");
  document.documentElement.removeAttribute("class");
});
</script>
</html>