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