1272475-2.html (643B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Bug 1272475 - rotate function with an extreme large value</title> 5 <script> 6 function test() { 7 var div = document.createElement("div"); 8 div.setAttribute("style", "width: 100px; height: 100px; " + 9 "background: red;"); 10 document.body.appendChild(div); 11 div.animate([ { "transform": "rotate(8rad)" }, 12 { "transform": "rotate(9.5e+307rad)" }, 13 { "transform": "rotate(32rad)" } ], 14 { "duration": 1000, "fill": "both" }); 15 } 16 </script> 17 </head> 18 <body onload="test()"> 19 </body> 20 </html>