summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-animations/no-stacking-context-offset-distance-animation-with-offset-path-none.html
blob: c8dd6981488a8a97467311731015a17d98af542a (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>
<title>
offset-distance animation doesn't create a stacking context if
offset-path is none
</title>
<style>
span {
  height: 100px;
  width: 100px;
  position: fixed;
  background: green;
  top: 50px;
}
@keyframes distance {
  from, to { offset-distance: 0% }
}
#test {
  width: 100px; height: 100px;
  background: blue;
  animation: distance 100s infinite;
}
</style>
<span></span>
<div id="test"></div>