OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src=../../resources/run-after-layout-and-paint.js></script> |
| 3 <svg> |
| 4 <filter id='filt'><feMerge><feMergeNode/></feMerge></filter> |
| 5 <image height='400' width='400' filter='url(#filt)' |
| 6 xlink:href='../../fast/images/resources/animated-10color-fast.gif' |
| 7 onload="runTest()"/> |
| 8 </svg> |
| 9 <p>PASS if no crash.</p> |
| 10 <script> |
| 11 if (window.testRunner) |
| 12 testRunner.dumpAsText(); |
| 13 |
| 14 function runTest() { |
| 15 // Nudge the frame time for the image to force the animation to catch up. |
| 16 if (window.internals) |
| 17 internals.advanceTimeForImage(document.querySelector('image'), 0.5); |
| 18 runAfterLayoutAndPaint(function(){}, true); |
| 19 } |
| 20 </script> |
OLD | NEW |