1322291-1.html (740B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <script> 4 document.addEventListener("DOMContentLoaded", boom); 5 function boom(){ 6 let o1 = (function(){ 7 let e=document.createElement("frameset"); 8 document.documentElement.appendChild(e); 9 return e; 10 })(); 11 let a1 = o1.animate({ "transform": "rotate3d(22,73,26,374grad)" }, 12 { duration: 10, delay: 100 }); 13 14 // We need to wait the end of the delay to ensure that the animation is 15 // composited on the compositor, but there is no event for script animation 16 // that fires after the delay phase finished. So we wait for finished promise 17 // instead. 18 a1.finished.then(function() { 19 document.documentElement.className = ""; 20 }); 21 } 22 </script> 23 </body> 24 </html>