| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script> | 2 <script> |
| 3 if (window.testRunner) { | 3 if (window.testRunner) { |
| 4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 5 testRunner.waitUntilDone(); | 5 testRunner.waitUntilDone(); |
| 6 window.onload = function() { | 6 window.onload = function() { |
| 7 testRunner.displayAsyncThen(function() { testRunner.notifyDone(); }); | 7 testRunner.displayAsyncThen(function() { testRunner.notifyDone(); }); |
| 8 }; | 8 }; |
| 9 } | 9 } |
| 10 </script> | 10 </script> |
| 11 <p>PASS if no crash (stack overflow).</p> | 11 <p>PASS if no crash (stack overflow).</p> |
| 12 <svg width="100" height="100"> | 12 <svg width="100" height="100"> |
| 13 <rect fill="url(#p1)" width="100" height="100"/> | 13 <rect width="100" height="100" fill="url(#p1)"/> |
| 14 <pattern id="p3" width="1" height="1"> |
| 15 <rect fill="url(#p1)" width="100" height="100"/> |
| 16 </pattern> |
| 14 <pattern id="p2" width="1" height="1"> | 17 <pattern id="p2" width="1" height="1"> |
| 15 <g> | 18 <rect fill="url(#p3)" width="100" height="100"/> |
| 16 <rect fill="url(#p1)" width="100" height="100"/> | |
| 17 </g> | |
| 18 </pattern> | 19 </pattern> |
| 19 <pattern id="p1" width="1" height="1"> | 20 <pattern id="p1" width="1" height="1"> |
| 20 <g> | 21 <rect fill="url(#p2)" width="100" height="100"/> |
| 21 <rect fill="url(#p2)" width="100" height="100"/> | |
| 22 </g> | |
| 23 </pattern> | 22 </pattern> |
| 24 </svg> | 23 </svg> |
| OLD | NEW |