Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 @keyframes anim { 0% { opacity: 0; } } | |
| 4 * { animation-name: anim; animation-duration: 4s; } | |
| 5 </style> | |
| 6 <p>PASS if no crash</p> | |
| 7 <script> | |
| 8 if (window.testRunner) { | |
| 9 testRunner.dumpAsText(); | |
| 10 testRunner.waitUntilDone(); | |
| 11 } | |
| 12 onload = function() { | |
| 13 let parent = document.createElement("div"); | |
| 14 element = parent.appendChild( | |
| 15 document.createElementNS("http://www.w3.org/2000/svg", "marker ")); | |
| 16 | |
| 17 setTimeout(function() { | |
| 18 element.computedName; | |
|
fs
2017/02/13 19:16:07
This would trigger the DCHECK in Node::containingT
| |
| 19 let before = performance.now(); | |
| 20 while (performance.now() - before < 17) | |
| 21 ; | |
|
alancutter (OOO until 2018)
2017/02/15 04:11:45
I wonder if internals.pauseAnimations(document.tim
fs
2017/02/15 14:18:30
Sadly, no =(. (Probably because of the lifecycle u
| |
| 22 element.className.animVal; | |
| 23 if (window.testRunner) | |
| 24 testRunner.notifyDone(); | |
| 25 }); | |
| 26 }; | |
| 27 </script> | |
| OLD | NEW |