Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: LayoutTests/svg/custom/delete-text-crash.html

Issue 9949002: Merge 111601 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/custom/delete-text-crash-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <!-- This test passes if there is no crash or assert --> 2 <!-- This test passes if there is no crash or assert -->
3 <!-- This test should be updated to use DumpAsText once WK81006 is fixed -->
4 <!-- The style overflow should be removed once we migrate to DumpAsText as well -->
5 <style type="text/css"> 3 <style type="text/css">
6 body { 4 body {
7 overflow: hidden; 5 overflow: hidden;
8 } 6 }
9 </style> 7 </style>
10 <script> 8 <script>
11 function testCrash() { 9 function testCrash() {
12 q = document.getElementById('root'); 10 q = document.getElementById('root');
13 r = document.createRange(); 11 r = document.createRange();
14 r.selectNodeContents( q.getElementById('t') ); 12 r.selectNodeContents( q.getElementById('t') );
15 window.getSelection().addRange(r) 13 window.getSelection().addRange(r)
16 document.designMode='on'; 14 document.designMode='on';
17 document.execCommand('delete'); 15 document.execCommand('delete');
18 document.execCommand('delete'); 16 document.execCommand('delete');
19 } 17 }
18
19 if (window.layoutTestController)
20 layoutTestController.dumpAsText();
20 </script> 21 </script>
21 <body onload="testCrash()"> 22 <body onload="testCrash()">
22 <svg id="root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org /1999/xlink"> 23 <svg id="root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org /1999/xlink">
23 <g> 24 <g>
24 <rect filter="url(#x)"/> 25 <rect filter="url(#x)"/>
25 <text>aa</text> 26 <text>aa</text>
26 <rect id="t"/> 27 <rect id="t"/>
27 <style></style> 28 <style></style>
28 <text>bb</text> 29 <text>bb</text>
29 </g> 30 </g>
30 <filter id="x"></filter> 31 <filter id="x"></filter>
31 </svg> 32 </svg>
32 </body> 33 </body>
33 </html> 34 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/delete-text-crash-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698