2 <html class=
"reftest-wait">
4 Changing target to an element that does not override opacity animations
5 creates a stacking context even if the animation is delay phase
16 width:
100px; height:
100px;
18 opacity:
1 ! important;
21 width:
100px; height:
100px;
26 <div id=
"first"></div>
27 <div id=
"second"></div>
29 var anim
= document
.getElementById("first")
30 .animate({ opacity
: [0, 1] },
31 { delay
: 100000, duration
: 100000 });
32 anim
.ready
.then(function() {
33 anim
.effect
.target
= document
.getElementById("second");
34 document
.documentElement
.classList
.remove("reftest-wait");