| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <!-- This test passes if there is no crash or assert --> | |
| 3 <style type="text/css"> | |
| 4 body { | |
| 5 overflow: hidden; | |
| 6 } | |
| 7 </style> | |
| 8 <script> | |
| 9 function testCrash() { | |
| 10 q = document.getElementById('root'); | |
| 11 r = document.createRange(); | |
| 12 r.selectNodeContents( q.getElementById('t') ); | |
| 13 window.getSelection().addRange(r) | |
| 14 document.designMode='on'; | |
| 15 document.execCommand('delete'); | |
| 16 document.execCommand('delete'); | |
| 17 } | |
| 18 | |
| 19 if (window.testRunner) | |
| 20 testRunner.dumpAsText(); | |
| 21 </script> | |
| 22 <body onload="testCrash()"> | |
| 23 <svg id="root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org
/1999/xlink"> | |
| 24 <g> | |
| 25 <rect filter="url(#x)"/> | |
| 26 <text>aa</text> | |
| 27 <rect id="t"/> | |
| 28 <style></style> | |
| 29 <text>bb</text> | |
| 30 </g> | |
| 31 <filter id="x"></filter> | |
| 32 </svg> | |
| 33 </body> | |
| 34 </html> | |
| OLD | NEW |