OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <style> |
| 5 @keyframes anim { 0% { opacity: 0; } } |
| 6 * { animation-name: anim; animation-duration: 4s; } |
| 7 </style> |
| 8 <p>PASS if no crash</p> |
| 9 <script> |
| 10 async_test(function(t) { |
| 11 window.onload = t.step_func(function() { |
| 12 let parent = document.createElement("div"); |
| 13 element = parent.appendChild( |
| 14 document.createElementNS("http://www.w3.org/2000/svg", "marker
")); |
| 15 |
| 16 setTimeout(t.step_func_done(function() { |
| 17 element.computedName; |
| 18 let before = performance.now(); |
| 19 while (performance.now() - before < 17) |
| 20 ; |
| 21 element.className.animVal; |
| 22 })); |
| 23 }); |
| 24 }); |
| 25 </script> |
OLD | NEW |